Hi,

I have a problem in dealing with datetime formatting errors. The
default format in web2py is YYYY-mm-dd but in my database i've changed
it to 'm d YYYY' (see code below).

db.commercial.start_time.requires = IS_DATETIME('%d %m %Y %H:%M:%S')

Now when I build an SQLFORM over this field, it enters data
incorrectly in the old format 'YYYY m d...' and shows a wrong error
message that the data should be in 'YYYY mm dd' format. How do I get
around this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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