[web2py] Re: my problem with datatables jq

2010-03-26 Thread mdipierro
IS_DATETIME(format=T('%Y-%m-%d %H:%M:%S')) On Mar 26, 8:40 am, Kuba Kucharski wrote: > but this > IS_DATE(format=T('%H:%M:%S')) > > gives me 00:00:00 > > where in db I have > > 14:39:23 > > why? > > -- > Kuba -- You received this message because you are subscribed to the Google Groups "web2py-

Re: [web2py] Re: my problem with datatables jq

2010-03-26 Thread Kuba Kucharski
I mean your example for month/year/day seems fine but there is a problem with time -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email

Re: [web2py] Re: my problem with datatables jq

2010-03-26 Thread Kuba Kucharski
but this IS_DATE(format=T('%H:%M:%S')) gives me 00:00:00 where in db I have 14:39:23 why? -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group,

[web2py] Re: my problem with datatables jq

2010-03-26 Thread mdipierro
The proper way is use internationalization db.table.field.requires=IS_DATE(format=T('%Y-%m-%d')) On Mar 26, 8:02 am, Kuba Kucharski wrote: > Hi > > in datatables > > datetime is displayed like this: > > 2010-03-26 13... > > by default so i cannot see minutes and seconds > > How to change this