[Webkit-unassigned] [Bug 63986] New: Date.prototype.toISOString doesn't handle negative years or years > 9999 correctly.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 6 05:19:31 PDT 2011


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

           Summary: Date.prototype.toISOString doesn't handle negative
                    years or years > 9999 correctly.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lrn at chromium.org


The ES5.1 specification of Date.prototype.toISOString requires the result to be in the format of a Date Time String, which allows an extension of the four-digit ISO year for years outside 0000..9999. I.e., for negative years or years > 9999, the only valid formats are "+yyyyyy" or "-yyyyyy".
The current version outputs dates on the form "10000-01-01T01:01:01.000Z".

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