Re: [web2py] Re: alternate date/time widgets?

2016-04-05 Thread shoemaker
On this issue: * timepicker: web2py requires 24 hour time representation. If I have a default time of "19:00", it gets displayed correctly in the form as "07:00PM", but on submission the time in the record is AM. I found these two lines: var ISO = '{}-{MM}-{dd} {hh}:{mm}:{ss}'; i

Re: [web2py] Re: alternate date/time widgets?

2016-04-05 Thread shoemaker
It seems like the form input isn't holding any AM/PM information at all, so I can't fix this up. Even on http://mdipierro.github.io/stupid.css/widgets/index.html enter in, say '11:12 PM', and inspect the form in debugger -- the form value will only be '11:12', so that's what gets submitted.

Re: [web2py] Re: alternate date/time widgets?

2016-04-05 Thread shoemaker
Continued below... On 2016-04-05 12:31, shoema...@riseup.net wrote: Working on integrating the new date and time pickers with my code, thoughts: * I added sugar.js and widgets.js and removed all of the existing JS. The calendar locked up those plus the existing JS: I wasn't using (AFAIK) any of

Re: [web2py] Re: alternate date/time widgets?

2016-04-05 Thread shoemaker
Working on integrating the new date and time pickers with my code, thoughts: * I added sugar.js and widgets.js and removed all of the existing JS. The calendar locked up those plus the existing JS: I wasn't using (AFAIK) any of the existing JS, and it wasn't clear what parts were in what files

Re: [web2py] Re: alternate date/time widgets?

2016-03-28 Thread shoemaker
Thanks -- I like the way these look. -mg On 2016-03-25 16:09, Massimo Di Pierro wrote: I made these http://mdipierro.github.io/stupid.css/widgets/index.html Still beta but the calendar one is there to stay. I will be come default in web2py in the next version. On Friday, 25 March 2016 12: