Ok, this is the documentation I have been looking for. Now I have found the direct link on the website. Thanks again. The timepicker seems not be very useful for me because I could not find a way to change it from AM/PM to 24 hours
2011/8/17 Anthony <abasta...@gmail.com> > Here's the documentation on the JS widget: > http://www.dynarch.com/static/jscalendar-1.0/doc/html/reference.html. > > Note, attaching the Calendar widget to date and datetime fields is handled > in the web2py_ajax_init function of /static/js/web2py_ajax.js ( > http://code.google.com/p/web2py/source/browse/applications/welcome/static/js/web2py_ajax.js#25), > so you could edit that (or change the class of date and datetime fields) in > order to further customize the behavior. > > Anthony > > On Wednesday, August 17, 2011 10:24:08 AM UTC-4, mweissen wrote: > >> Thx. But how can I translate the names of the months and the days and how >> can I make the calendar start at Monday (and not at Sunday)? >> >> By the way: I wanted to get a timepicker and I have tried to use "... >> _class='time'...". The datepicker works (_class='date') and also >> _class='datetime', but not 'time'. >> >> Regards, Martin >> >> 2011/8/17 Anthony <abas...@gmail.com> >> >> If you want to localize the date format in particular, in >>> /views/web2py_ajax.html, you'll notice variables w2p_ajax_date_format and >>> w2p_ajax_datetime_format. Both of those are translated via the web2py >>> translation system, so you can simply add translations for those two formats >>> to your language files. >>> >>> Anthony >>> >>> On Wednesday, August 17, 2011 5:53:07 AM UTC-4, mweissen wrote: >>> >>>> Who knows where to find details about the localization (and other >>>> customization) of the built-in calender? >>>> In calendar.js I have found the link >>>> http://www.dynarch.com/projects/calendar, but I could only find there >>>> something about a (new) version JSCal2 >>>> >>>> Regards, Martin >>>> >>>> >>