Also, I am not sure what happen with web2py_ajax.*js *I found reference to it in web2py_ajax*.html*
quote: // These variables are used by the web2py_ajax_init function in web2py_ajax.js (which is loaded below). But it seems to have been removed?? I try to search the list and github for explanations without success... Richard On Mon, Jun 12, 2017 at 2:23 PM, Richard Vézina <ml.richard.vez...@gmail.com > wrote: > I made some progress... It relatively straigh foward to replace Calendar... > > I am reading IS_TIME() validator which handle time with second or not... I > am not sure how I could translate that with time picker from flatpicker > which use enableSeconds boolean flag to determine if it requires second or > not in the widget... web2py IS_TIME() surely handle both, but should I set > as a default for time picker to include seconds... If we don't I am not > sure web2py end users can specify flatpickr to support second without > having to go in web2py.js and set enableSeconds to "true"... I would say it > better to just manualy erase second in the input field than not having > access to the feature at all from the widget???! What do you think? > > It similar for datetime... Flatpickr don't support this way of configuring > the time part : '%Y-%m-%d %H:%M:%S'. Date and time are configure separatly, > I work around in a backward compatible way the date part by stripping all > the "%" as Flatpickr use "Y-m-d" format specification instead of "%Y-%m-%d" > in case of date type field. But datetime type field is more difficult to > manage... I guess we will need to write some logic in js to parse web2py > datetime configuration string to set flatpickr default time flags properly > which is a tedious task... > > I will have look at internationalization... > > Richard > > > > > On Fri, Jun 9, 2017 at 3:17 AM, Jörg Schneider <softw...@jomajobe.de> > wrote: > >> +1 >> >> -- >> 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. >> > > -- 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.