PDA

View Full Version : Date Format + Date Column on Grid



smichels
22 Jul 2010, 7:07 PM
Hi!

I don't know if this is a bug.

I have one grid with one date column ( xtype: 'datecolumn' ).

My value is "2010-07-30".

If i use: renderer: Ext.util.Format.dateRenderer("d/m/Y") the month and the day are inverted.
If i use: format: 'd/m/Y' then displays correct.

If i change the type to gridcolumn and use Ext.util.Format then displays correct too.

mankz
22 Jul 2010, 8:25 PM
How about if you use:



Ext.util.Format.dateRenderer("Y-m-d")