UNCONFIRMED 119136
new Date(dateString) not supported in JSC
https://bugs.webkit.org/show_bug.cgi?id=119136
Summary new Date(dateString) not supported in JSC
Jose Lejin PJ
Reported 2013-07-26 01:30:08 PDT
Support for new Date("yyyy-mm-dd hh:mm:ss") needed in JSC
Attachments
Jose Lejin PJ
Comment 1 2013-07-26 01:34:54 PDT
It works fine in V8.
Csaba Osztrogonác
Comment 2 2013-11-04 07:49:00 PST
"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
Comment 3 2013-11-04 20:26:01 PST
It works fine in chrome. So V8 supports a non-standard date format ?
Note You need to log in before you can comment on or make changes to this bug.