I'm not sure it would really have to support Python date formatting. 
Couldn't we just specify the appropriate default formats in web2py_ajax.html 
<https://github.com/web2py/web2py/blob/2f0b429f9ecbc95d5f10bf768ddae9376f469879/applications/welcome/views/web2py_ajax.html#L6-L7>
 
and then point users to the Flatpickr documentation if they want to use 
alternative formats (they'll need the Flatpickr documentation anyway to 
make other types of customizations)?

Anthony

On Monday, June 26, 2017 at 10:16:05 AM UTC-4, Richard wrote:
>
> To integrate flatpickr a flatpickr plugin should be write to support 
> python date time string formating : http://strftime.org/
>
> That what have been suggested by flatpickr devs :
> https://github.com/chmln/flatpickr/issues/886
>
> I try to integrate flatpickr here and it get muddy along the road as I 
> learn flatpickr API for datetime formating which is javascript compliant if 
> compliant to anything at all... Code here : 
> https://github.com/BuhtigithuB/web2py/tree/improve/replace-calendar-time-picker-by-flatpicker
>
> It works, but you have to support all kinds of datetime string formatting 
> for which you will have a lot of logic to write... This logic should be 
> write once as a flatpickr plugin to me...
>
> Calendar may be ogly but by accepting python switches : 
> http://www.dynarch.com/jscal/#printDate
>
> It made it a really good fit...
>
> I don't really have time to work on a flatpickr plugin...
>
> Richard
>
> On Fri, Jun 23, 2017 at 10:36 AM, Oasis Agano <[email protected]> 
> wrote:
>
>> i think this guy is working on the flatpickr datepicker but could use 
>> some help
>>
>> https://github.com/web2py/web2py/issues/1646
>>
>>
>> On Monday, June 5, 2017 at 10:39:11 AM UTC+2, Karoly Kantor wrote:
>>>
>>> Dear Massimo,
>>>
>>> I saw your question in the developers group where I cannot post, 
>>> therefore i do it here.
>>>
>>> I am currently aware of the following issues to be fixed:
>>>
>>> 1. Google 2nd generation SQL is definitely a problem. Please note I made 
>>> a temporary hack to fix it, described here: 
>>> https://groups.google.com/forum/?fromgroups=#!topic/web2py/vs39zZpaH7g
>>>
>>> 2. We have a long overdue issue with the password reset emails not 
>>> sending on GAE. I am using a temporary dirty workaround that sends a plain 
>>> text new password, search for the issue about "lazyT object being passed to 
>>> GAE".
>>>
>>> 3. I am having trouble making the date picker work nicely across all 
>>> browsers, especially where there is a native solution. Microsoft Edge is 
>>> the worst case. In general, would be good to have a nicer date picker
>>>
>>> 4. General comment: We have "batteries included", however, some of those 
>>> batteries now have newer versions than included, e.g. bootstrap
>>>
>>>
>>>
>>>
>>> -- 
>> 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 [email protected].
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to