LOL. I think it is not easy enough in fact. In web3py I think all date 
conversions should be done client side and not in validator. There is no 
reason for the server to even know what the client representation of dates 
is.

On Tuesday, 29 March 2016 12:44:54 UTC-5, Jeff Riley wrote:
>
> Mr. Pierro.  I am embarrassed that was so easy.
>
> On Monday, March 28, 2016 at 11:09:32 PM UTC-5, Massimo Di Pierro wrote:
>>
>> look into views/web2py_ajax.html
>>
>> On Monday, 28 March 2016 16:09:39 UTC-5, Jeff Riley wrote:
>>>
>>> Hello everyone.  I have the following field defined.
>>>
>>> Field('due_date', 'date', requires = IS_DATE(format=T('%m-%d-%Y'))),
>>>
>>> The date picker that comes up with this field is setting the date to 
>>> YYYY-MM-DD which is conflicting with the format I have defined above when I 
>>> his submit.  How to I get the date picker to return the correct format.
>>>
>>> Thank you all so much for all your help with everything I have asked.
>>>
>>

-- 
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.

Reply via email to