Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    1
    Vote Rating
    0
      0  

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

    The ExtJS 4.1 beta's Ext.Date doesn't seem to parse ISO8601 dates (format "c") correctly:

    Code:
    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.

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,939
    Vote Rating
    917
      0  

    Default

    We had a bug report about this, should corrected for the next release. Thanks.
    Twitter - @evantrimboli
    Former framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •