As I see you want to customize date format at form level, i.e.  user picks 
the date from calendar and the field is filled with 'Monday ...' (name of 
the day)
If  it's what you want you can use the following:
There are two JS-variables are used by calendar  (see 
your_app/views/web2py_ajax.html):
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}"; 

You can change these vars in web2py_ajax.html (global change) or just 
overwrite them at veiw level   
Calendar format date  - http://www.dynarch.com/jscal/#sec22
P.S. It seems web2py IS_DATE validator doesn't recognize names of the days  
So, you have to write your own

On Thursday, January 14, 2016 at 4:49:17 AM UTC+3, Lorenzo Zonca wrote:
>
> Goodmorning  to everyone. 
>
> Through a field "date " with calendar of a CRUD , how can I store a date 
> with this syntax 
>
> eg . Monday, 2 May - 2016 ( day - number of day - month - year ) 
>
>
> Thank you

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