[Webkit-unassigned] [Bug 137003] New: Time zone bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 08:31:16 PDT 2014


           Summary: Time zone bug
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: https://github.com/mbostock/d3/issues/2028
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jason.davies at gmail.com

It looks like there's a bug with time zone handling:

> new Date(2014, 8, 27, 14)
< Sat Sep 27 2014 13:00:00 GMT+1200 (NZST)

The DST change doesn't happen until 2am the next day.  Notice that the offset is +1200 for any times on the 27th, whereas it correctly switches to +1300 on the Sunday:

> new Date(2014, 8, 28, 3)
< Sun Sep 28 2014 03:00:00 GMT+1300 (NZDT)

By the way, it's interesting that the DST offset occurs at 2014-09-27T14:00:00Z (UTC) - maybe there's been a mixup here.

First reported here: https://github.com/mbostock/d3/issues/2028

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