PDA

View Full Version : date rendererissue



xrx215
11 Mar 2010, 1:42 PM
I have a date renderer issue for a column. when browser language is in english the date is displayed in this format
09/14/2009 09:23 AM But when i change the browser language to german or italian(displays coreect in english,portugese,spanish and french) the date is not rendered it displays NAN/NAN/NAN 12:NAN PM
Here is the code..
var dateRenderer = Ext.util.Format.dateRenderer('m/d/Y h:i A'); var colModel = new Ext.grid.ColumnModel([ { header: xppo.st('SDE_DATE_OCCURRED'), width: 75, sortable: true, dataIndex: 'DateOccurred', renderer: dateRenderer }]); How can i render the date in other languages.Please help me with this issue.
Thanks