Anup (OpenERP) has proposed merging 
lp:~openerp-commiter/openobject-client/ach-6.0-opw-lp718040 into 
lp:openobject-client/6.0.

Requested reviews:
  Olivier Dony (OpenERP) (odo)
  Jay Vora (OpenERP) (jvo-openerp)
  OpenERP sa GTK client R&D (openerp-dev-gtk)
Related bugs:
  #718040 Wrong representation of dates.
  https://bugs.launchpad.net/bugs/718040

For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-client/ach-6.0-opw-lp718040/+merge/50906

Hello,

     Representation of Date in GTK client has been fixed by this. The 
representations like %b %B %a %A %c etc were not being displayed in proper way.

Thanks.
-- 
https://code.launchpad.net/~openerp-commiter/openobject-client/ach-6.0-opw-lp718040/+merge/50906
Your team OpenERP sa GTK client R&D is requested to review the proposed merge 
of lp:~openerp-commiter/openobject-client/ach-6.0-opw-lp718040 into 
lp:openobject-client/6.0.
=== modified file 'bin/tools/datetime_util.py'
--- bin/tools/datetime_util.py	2010-12-23 06:12:37 +0000
+++ bin/tools/datetime_util.py	2011-02-23 12:06:19 +0000
@@ -56,8 +56,21 @@
     '%m': ('__', '[_0-1][_0-9]'),
     '%d': ('__', '[_0-3][_0-9]'),
     '%H': ('__', '[_0-2][_0-9]'),
-    '%M': ('__', '[_0-6][_0-9]'),
-    '%S': ('__', '[_0-6][_0-9]'),
+    '%M': ('__', '[_0-5][_0-9]'),
+    '%S': ('__', '[_0-5][_0-9]'),
+    '%b': ('___', '[_A-Z][_a-z][_a-z]'),
+    '%a': ('___', '[_A-Z][_a-z][_a-z]'),
+    '%B': ('_________', '[_A-Z][_a-z]*'),
+    '%A': ('_________', '[_A-Z][_a-z]*'),
+    '%c': ('___ __ ___ ____ __:__:__ __','[_A-Z][_a-z][_a-z] [_0-3][_0-9] [_A-Z][_a-z][_a-z] [_1-9][_0-9][_0-9][_0-9] [_0-1][_0-9]:[_0-5][_0-9]:[_0-5][_0-9] [_AP][_M]'),
+    '%I': ('__', '[_01][_0-9]'),
+    '%p': ('__','[_AP][_M]'),
+    '%U': ('__','[_0-5][_0-9]'),
+    '%W': ('__','[_0-5][_0-9]'),
+    '%j': ('___','[_0-3][_0-6][_0-9]'),
+    '%w': ('_','[0-6]'),
+    '%x': ('__/__/____','[_0-3][_0-9]/[_0-1][_0-9]/[_1-9][_0-9][_0-9][_0-9]'),
+    '%X': ('__:__:__ __','[_01][_0-9]:[_0-5][_0-9]:[_0-5][_0-9] [_AP][_M]')
 }
 
 # RATIONALE BEHIND TIMESTAMP CALCULATIONS AND TIMEZONE MANAGEMENT:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to