Undoubtedly it would be more coherent to have the possibility to set the 
time format as in IS_DATE and IS_DATETIME.


On Friday, March 12, 2010 4:07:46 PM UTC+1, mdipierro wrote:
>
> good point. I will take the patch.
>
> On Mar 12, 9:01 am, DenesL <denes1...@yahoo.ca> wrote:
> > To drop the seconds value as in the example format '%H:%M' above.
> >
> > On Mar 12, 8:07 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> >
> > > The 'time' fields have a JS time picker. If you choose to do
> >
> > >   db.table.field.requires.formatter=lambda v: v.strftime('%H-%M')
> > > instead of
> > >   db.table.field.requires.formatter=lambda v: v.strftime('%H:%M')
> >
> > > the time picker would not recognize it as valid time. Why would
> > > anybody change the time format?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to