Results 1 to 2 of 2

Thread: IE7/8/Mozilla Date Time Error: Daylight Savings Time + Leap Year

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2010
    Vote Rating

    Default IE7/8/Mozilla Date Time Error: Daylight Savings Time + Leap Year

    We saw unusual behavior in code that read a date string into a field of type 'date'. Date values for March 10 between 2:00 am and 2:59 were reported in IE7 &8 as 1:00 to 1:59. It looks like IE (and FF) didn't realize that it was leap year and removed the skipped hour of the wrong day. I think I can work around this by providing a format for the field. Normally it's good enough to just say type:'date', but I'm going to add a dateFormat. This probably won't be a problem again until the next leap year. The code without the dateFormat works OK in chrome.
    "NOTIFICATION_DT_TM":"03\/10\/12 02:02" renders as 03\/10\/12 01:02
     }, {                            name : 'NOTIFICATION_DT_TM'
                                ,type : 'date'
                                ,dateFormat : "m/d/y H:i"

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You should always specify a dateFormat. If you do does it resolve the issue?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

Tags for this Thread

Posting Permissions

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