datetime format is tied to datetime representation and that's bind to T() operator ....
this snippet comes from web2py_ajax.html and it's responsible of calendar.js way to display time .... try {jQuery("input.date").live('focus',function() {Calendar.setup({ inputField:this, ifFormat:"{{=T('%Y-%m-%d')}}", showsTime:false }); }); } catch(e) {}; try { jQuery("input.datetime").live('focus', function() {Calendar.setup({ inputField:this, ifFormat:"{{=T('%Y-%m-%d %H:%M:%S')}}", showsTime: true,timeFormat: "24" }); }); } catch(e) {}; So, you need to apply the format you want inside languages .... use appadmin to edit that (search for '%Y-%m-%d' and '%Y-%m-%d %H:%M:%S') and you're done! On Jan 27, 3:01 pm, Ovidio Marinho <ovidio...@gmail.com> wrote: > yes > > 2011/1/27 luifran <lbernalhernan...@yahoo.es> > > > I would like to change the calendar.js date format, I want the format > > d / m / y instead of y / m / d > > ¿It´s possible? > > -- > Ovidio Marinho Falcao Neto > ovidio...@gmail.com > Tecnologia da Informaçao > Casa Civil do Governador > 83 3214 7885 - 88269088 > Paraiba > > calendar.js > 63KViewDownload