Hello Vadim,

Thanks, Yes en_GB locale has time format as %T so now it will take it as
%T.

Try this on your localhost on python prompt

import locale
>>> locale.setlocale(locale.LC_ALL,'en_GB.utf8')
'en_GB.utf8'

>>> locale.nl_langinfo(locale.T_FMT)
'%T'

>>> locale.nl_langinfo(locale.D_FMT)
'%d/%m/%y'

but what  python2.6 is raising valueError:

>>> dt = '06/01/2011 06'
>>> from datetime import datetime
>>> datetime.strptime(dt,'%d/%m/%y %T')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/_strptime.py", line 317, in _strptime
    (bad_directive, format))
ValueError: 'T' is a bad directive in format '%d/%m/%y %T'


Thanks,

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/697833

Title:
  v6rc2 - do you want to save the record? prompts for no reason

Status in OpenObject GTK Client:
  Fix Released

Bug description:
  This applies to windows RC2 client. it was fine in RC1

On most objects (invoices, projects, tasks etc) even if you dont make any 
changes to an entry (simply navigating through) will prompt:

'The record has been modified
do you want to save it?'

My user uses en_GB and I though this maybe somehow relates to the other bug I 
just reported - https://bugs.launchpad.net/openobject-client/+bug/697829



_______________________________________________
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