turbogears :: validators :: DateTimeConverter :: Class DateTimeConverter

Class DateTimeConverter

source code

formencode.validators.FancyValidator --+    
                                       |    
                        TgFancyValidator --+
                                           |
                                          DateTimeConverter

Convert between Python datetime objects and strings.

Class Variables
  format = "%Y/%m/%d %H:%M"
  messages = {'badFormat': _('Invalid datetime format'), 'empty'...

Inherited from TgFancyValidator: gettextargs

Class Variable Details

messages

Value:
{'badFormat': _('Invalid datetime format'), 'empty': _('Empty values n\
ot allowed'),}