I solved with this

    var w2p_ajax_date_format = "{{=T('%d/%m/%Y')}}";
    var w2p_ajax_datetime_format = "{{=T('%d/%m/%Y %H:%M')}}";

in web2py_ajax.html

Il giorno venerdì 1 giugno 2018 23:37:48 UTC+2, Andrea Fae' ha scritto:
>
> When I select from standard calendar a datetime value it adds :00 seconds! 
> But I don't want, I don't need. How to remove from the datetime field?
>
> I tried to add in the layout.html this
>
> <script>
> jQuery.timeEntry.setDefaults({show24Hours: true, showSeconds: false});
>  </script>
>
>
> 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