Hmm, I had a look at the code of flatpickr for fromatting : https://github.com/chmln/flatpickr/blob/master/src/flatpickr.js#L1461
Would require a major refactor to support python string fromatting datetime parameter '%Y-%m-%d %H:%M:%S' Also it doesn't seems to support timezone... https://chmln.github.io/flatpickr/formatting/ On Mon, Jun 12, 2017 at 4:01 PM, Richard Vézina <ml.richard.vez...@gmail.com > wrote: > Here : https://github.com/web2py/web2py/commit/ > 0205594f0853680e7c548dd0c506640958e36f1b > > Just go to : welcome/default/test_flatpickr, a dummy form with the 3 > field types date, datetime, time demo > > Meaningful changes are mostly at the top and the bottom of diff... > > Remain to manger i18n and figure out what to do with datetime... I think > date is correct and time if default widget config with seconds is > acceptable we are done. For datetime as mention it more complexe... Maybe > we could propose enhancement to flatpickr to support default web2py style > datetime formatting like '%Y-%m-%d %H:%M:%S'... Calendar was supporting > that... But I am not sure if there is any standard way to specify datetime > string format?? > > Richard > > On Mon, Jun 12, 2017 at 3:47 PM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> Ok, I figure this out, I mean it work with only change into web2py.js and >> web2py_ajax.html with web2py-master (up to date)... >> >> I should remove reference to web2py_ajax.js in this comment and replace >> it with web2py.js I guess?? >> >> Have you any input regarding the previous message about flatpickr >> integration and backward compatibility... >> >> I will share the mods I made so far from my fork and share the a link >> pointing to it here ASAP. >> >> Richard >> >> On Mon, Jun 12, 2017 at 3:43 PM, Anthony <abasta...@gmail.com> wrote: >> >>> On Monday, June 12, 2017 at 2:28:21 PM UTC-4, Richard wrote: >>>> >>>> Also, I am not sure what happen with web2py_ajax.*js *I found >>>> reference to it in web2py_ajax*.html* >>>> >>> >>> You must have a very old version -- web2py_ajax.js was changed to >>> web2py.js a long time ago. >>> >>> Anthony >>> >>> -- >>> 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.