There seems to be a unexpected behavior regarding the form validation error datetime format.
In languages/en-us.py, I redefined '%Y-%m-%d %H:%M:%S' to '%m-%d-%Y %I:%M %p'. views/web2py_ajax.html says var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";. Even though the calendar widget generates the expected datetime format, upon validation, if there is an validation error, the datetime format doesn't seem to be translated (i.e. it's still %Y-%m-%d %H:%M:%S). I've also to set db.table.field.requires to IS_DATETIME_IN_RANGE(format=T('%Y-%m-%d %H:%M:%S'),minimum=datetime.datetime.now()) with no effect. However, if instead I set requires to IS_DATETIME(format=T('%Y-%m-%d %H:%M:%S')), then the validation error message displays the proper time format. Please let me know if I'm doing something wrong. Thanks. --