c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09659
[Bug 503624] Re: The calendar widget will reject value entry when the locale date format is not 'Standard'
** Changed in: openobject-client
Assignee: Olivier Dony (OpenERP) (odo) => OpenERP sa GTK client R&D (openerp-dev-gtk)
--
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:
Confirmed
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