[Webkit-unassigned] [Bug 80262] New: Date.toLocaleString not taking time zone into account

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 04:04:38 PST 2012


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

           Summary: Date.toLocaleString not taking time zone into account
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wingo at igalia.com
                CC: darin at apple.com, ap at webkit.org


Bug 76714 introduced a regression in Date.toLocaleDateString().

Before:

> var TIME_1900 = -2208988800000;
undefined
> new Date(TIME_1900)
Mon Jan 01 1900 01:00:00 GMT+0100 (CET)
> new Date(TIME_1900).toLocaleDateString()
01/01/1900

After:

> var TIME_1900 = -2208988800000;
undefined
> new Date(TIME_1900)
Mon Jan 01 1900 01:00:00 GMT+0100 (CET)
> new Date(TIME_1900).toLocaleDateString()
December 31, 1899

This causes ecma_3/Date/15.9.5.6.js to fail.

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