PDA

View Full Version : 4.1 beta Ext.Date.parse ISO8601 date parsing broken: treats time as 12-hour time



pewtersnark
9 Jan 2012, 5:28 PM
The ExtJS 4.1 beta's Ext.Date doesn't seem to parse ISO8601 dates (format "c") correctly:


Ext.Date.parse('2011-12-10T00:00:01-05:00', 'c') => undefined

This parsed correctly on the 4.0.x releases. 4.1 seems to be trying to parse the time as a 12-hour time, instead of the ISO8601 24-hr format.

evant
9 Jan 2012, 5:38 PM
We had a bug report about this, should corrected for the next release. Thanks.