> new Date("1300-01-01").toISOString()
< "1299-12-31T00:00:00.000Z"
> new Date("1301-01-01").toISOString()
< "1301-01-01T00:00:00.000Z"
Safari Version 6.1 (8537.71)
Mac OS X 10.8.5
Couldn't find any upstream information
> new Date("1300-01-01").toISOString()
< "1299-12-31T00:00:00.000Z"
> new Date("1301-01-01").toISOString()
< "1301-01-01T00:00:00.000Z"
Safari Version 6.1 (8537.71)
Mac OS X 10.8.5
Couldn't find any upstream information
The webkit bugzilla repo has a similar report:
JavaScript: Invalid date parse for ISO 8601 strings when no timezone given
The developer comment states:
ecmascript date parsing is not ISO 8601 compliant, but we may be able to make this case work.