You found a bug! We've classified it as EXTJS-8239 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
    gtokarski is on a distinguished road

      0  

    Default Ext.Date.parse - problem when parsing dates near daylight time change.

    Ext.Date.parse - problem when parsing dates near daylight time change.


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.3 rev 548
    Browser versions tested against:
    • FF 18 (firebug 1.11.1 installed)
    Description:

    It seems that parser implementation has a problem with daylight time change:

    Ext.Date.parse('2000-10-29T01:00:00+02:00', 'c').getTime() ==> 972774000000
    Ext.Date.parse('2000-10-29T02:00:00+02:00', 'c').getTime() ==> 972774000000

    Pure javascript (and results that I would expect from Ext.Date):

    new Date('2000-10-29T01:00:00+02:00').getTime() ==> 972774000000
    new Date('2000-10-29T02:00:00+02:00').getTime() ==> 972777600000

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,652
    Vote Rating
    901
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread