[Webkit-unassigned] [Bug 122292] New: Date objects not working properly in NZST timezone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 3 11:44:56 PDT 2013


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

           Summary: Date objects not working properly in NZST timezone
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tony at alminder.com


Set timezone to Aukland - New Zealand

In the console, create a date object for Sep. 29th, 2013.

> new Date(2013, 08, 29)
< Sat Sep 28 2013 23:00:00 GMT+1200 (NZST)

The result is a date object on Sep. 28th.  

This did not used to happen (no idea when it broke, but it worked on iOS6, broken on iOS7, and broken on Mac OS X nightly build as well as Safari developer seed 8).  No other browser behaves this way, makes building a calendar app quite difficult

-- 
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