[Webkit-unassigned] [Bug 130967] New: erroneous date calculations on march 30, 2014 (CET/CEST time zone) the day on which daylight savings time changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 31 05:40:46 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=130967

           Summary: erroneous date calculations on march 30, 2014
                    (CET/CEST time zone) the day on which daylight savings
                    time changes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.9
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bas at vanklinkenbergsoftware.nl


How to reproduce:

1) make sure the computer has the time set to central european time (CET/CEST)
2) run this line of code at the console prompt:
var a = new Date(2014,2,30); new Date(a.setHours(1))

Expected result: 
Sun Mar 30 2014 01:00:00 GMT+0100 (CET) (one o'clock)

Actual result:
Sun Mar 30 2014 00:00:00 GMT+0100 (CET) (midnight)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list