Hello,

in my model I have defined a custom (German) date format:

db.entry.date.requires=IS_DATE(format=T('%d.%m.%Y'),
                         error_message=T('use DD.MM.YYYY!'))

But when users select a date in the form using the calender, it is
inserted as:
2009-05-19 and thus would never pass the validation.

What do I need to change?

Thanks and regards,
Marco

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to