c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09844
[Bug 503624] Re: The calendar widget will reject value entry when the locale date format is not 'Standard'
sorry I forgot to mention the revision info 1738
nch@xxxxxxxxxxx-20101228093212-sx8bry2b1u5bldyp on trunk GTK client.
Thanks
** Changed in: openobject-client/trunk
Status: In Progress => Fix Released
--
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/503624
Title:
The calendar widget will reject value entry when the locale date format is not 'Standard'
Status in OpenObject GTK Client:
Fix Released
Status in OpenObject GTK Client trunk series:
Fix Released
Bug description:
The problem stems from the modification of code on rev. 990.1.6
Slicing the date string to fix the length of the date doesn't sound right here, because the separator in date format may not be one byte in length for many locales. For instance, the separator could be of several characters or one character extends several bytes in string. In my case, the Chinese date-time format is like: _年_月_日 _时_分_秒, every Chinese character in the format will extend 3 or more bytes in byte string.
Also, the same assumption of the 'Standard' date time format in whole code base causes many other problems, for example print the report with locale date format. I will report again when I encounter specific problem.
Tony Gu