Hi all,
with the latest trunk the datetime translation seems to be broken.
In models.py I have defined:
<snip>
db.timeevent.start.requires = [IS_NOT_EMPTY(), IS_DATETIME(format=T('%Y-%m-%d %H:%M:%S'))]
db.timeevent.finish.requires = IS_DATETIME(format=T('%Y-%m-%d %H:%M:%S'))
</snip>
and in languages de-de.py is
<snip>
'%Y-%m-%d': '%d.%m.%Y',
'%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M:%S',
</snip>
defined.
At the form validation for an input like: 28.08.2012 08:00:00 the validation error: enter date and time as 1963-08-28 14:30:59 occurs. With the nightly build from yesterday there was no error.
Version:
Version 2.0.1 (2012-08-27 16:16:20) rc
Andreas