Bug 119136
Summary: | new Date(dateString) not supported in JSC | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jose Lejin PJ <jose.lejin> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | barraclough, ggaren, oliver, ossy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Jose Lejin PJ
Support for new Date("yyyy-mm-dd hh:mm:ss") needed in JSC
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jose Lejin PJ
It works fine in V8.
Csaba Osztrogonác
"yyyy-mm-dd hh:mm:ss" isn't a valid date, you have to add a "T" character
between the date and the time. See EcmaScript 5.1 standard - 15.9.1.15 .
Gavin made the parser ECMA conform in http://trac.webkit.org/changeset/104251
I think making JSC accept a non standard date format can't be a goal of the
project, so I propose closing it with resolved/invalid.
Jose Lejin PJ
It works fine in chrome.
So V8 supports a non-standard date format ?