PDA

View Full Version : Date Format and Internet Explorer



revolunet
4 Feb 2013, 6:52 AM
Hi :)

Not sure if this is really a bug or if i dont use the date filter correctly, but when using the date filter in ExtJS Xtemplates under IE8, the dates are not parsed correctly. I know IE date management is a joke but i thought ExtJS would handle it :)

My input date is standard ISO format string: "2002-06-21T00:00:00.0000000"

But using :date('Y-M-d') filter in the XTempalte doesnt work with IE8. (i get a blank string)

I made a little override based workaround if some are interested : https://gist.github.com/4707132

Cheers :)

mitchellsimoens
6 Feb 2013, 2:57 PM
So you input a string or is it a date object?

revolunet
7 Feb 2013, 1:22 AM
The data is "raw" JSON without a model+reader so i guess yes its a standard string. What's weird is that it works great on chrome/FF and not on IE...