← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701054] Re: [v6rc2] crm schedule another phonecall - wrong dateformat

 

Felix,

1. the "%r" format issue should have been fixed yesterday, but you'll
probably need to create a new database. I could not reproduce the issue
on either OSX 10.6.6 or Ubuntu 10.10

2. the date formats the server uses are extracted from your operating
system's locale database (via locale.nl_langinfo)
http://docs.python.org/library/locale.html#locale.nl_langinfo. Without
informations on the platform the OpenERP server is installed on, we
can't really help you any further (on my machine, the date format for
german is `%d.%m.%Y`). I do not know if your platform allows for
customization of its locale database.

3. after installing a new language, you can change that language's date
and time formats (Übersetzungen > Sprachen, then switch to Form View
[the languages list is sadly still editable, as far as I know] and go to
German. You will have two fields `Datumsformat` and `Zeitformat` which
you can edit to the format you need. As mentioned above, the default
values are extracted from your platform's locale database.

That's about it so far, closing the bug for the web client as it should
not be possible to have "%r" in the format strings anymore (unless you
put them in there yourself) and i could use the time format "H%:%M:%S
%p" (07:56:11 AM) without any complaint from either the client or the
server.

Please note, however, that at this point in time the parsing of date and
times does not have much if any leniency: the date put in *must* match
the language's pattern (so in my example above replacing "AM" by "am"
works, but replacing "AM" by "a.m." or "A.M." does not validate and
yields an invalid format error)

** Changed in: openobject-client-web
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701054

Title:
  [v6rc2] crm schedule another phonecall - wrong dateformat

Status in OpenObject GTK Client:
  Confirmed
Status in OpenObject Web Client:
  Invalid

Bug description:
  web-client revno: 4287

When I try to schedule a new phonecall from in- or outbound calls the wizard accepts the input of the english interface - in the localized version it appends a "p.m." and complains about the wrong dateformat.

Best regards

Felix Schubert





References