[Webkit-unassigned] [Bug 75671] New: Date parsing is too restrictive.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 5 16:40:25 PST 2012


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

           Summary: Date parsing is too restrictive.
           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: barraclough at apple.com


ES5 date parsing currently requires are fields to be present, which does not match the spec (ES5.1 15.9.1.15).

The spec allow a date to be date only, or date + time.

The date portion on the should match: (pseudocode!:)
    [(+|-)YY]YYYY[-MM[-DD]]
The time portion should match:
    THH:mm[:ss[.sss]][Z|(+|-)HH:mm]

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