Try default='00:00 AM'. Though it looks like this could be a bug -- please 
submit an issue: http://code.google.com/p/web2py/issues/list

Anthony

On Tuesday, March 20, 2012 8:58:38 AM UTC-4, Youngblood wrote:
>
> I have an input field with a default value of "12:00 AM". In the database 
> the field type is set to 'time'. After you submit this form the 
> response.vars.Start value is now datetime.time(12,0) which translates to 
> 12:00 PM. Is there a fix so it will correctly convert to 12:00 AM?
>
> Thanks,
> David Youngblood
>

Reply via email to