Model:

T.force('en-nl')
I just updated from web2py version 1.61.4 to version 1.63. This update
introduced the following problem. In my model I have a table:


db.define_table('event',
    db.Field(...),
    db.Field('van_datum',type='date',label='Van-datum *
',default='',notnull=True),
    ...,
    migrate=False)


.... and a validator:


db.event.van_datum.requires=IS_DATE(str(T('%Y-%m-%d')))



And a language file which reads like:


Language:

Original                                Translation
%Y-%m-%d                                %d-%m-%Y
%Y-%m-%d %H:%M:%S               %d-%m-%Y %H:%M:%S


When I insert an event using appadmin the calendar enter a datetime:

%d-%m-%Y %H:%M:%S

... instead of a date:

%d-%m-%Y


My code worked flawless in 1.61.4, what do I have to do to repair it
in 1.63?


Kind regards,

Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to