Results 1 to 2 of 2

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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 - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,436
    Vote Rating
    859
      0  

    Default

    We had a bug report about this, should corrected for the next release. Thanks.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Posting Permissions

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