I tried:
> Two: change the validators to read like:
>
> db.event.datum.requires=[IS_DATE(str(T('%Y-%m-%d'))), IS_NOT_EMPTY()]
> db.event.einddatum.requires=IS_DATE(str(T('%Y-%m-%d')))
>
> and create a language file en-nl.py.
Translations:
Original Translation
%Y-%m-%d ***%d-%m-%Y
%Y-%m-%d %H:%M:%S ***%d-%m-%Y %H:%M:%S
But all dates in the views are still displayed in their original
format i.e. 2009-04-13
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---