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

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
  • This looks like a Safari bug and should be reported upstream. ECMAScript should handle these dates well, although they are [proleptic Gregorian calendar](http://en.wikipedia.org/wiki/Gregorian_calendar#Proleptic_Gregorian_calendar) dates. – Palec Dec 25 '13 at 04:42
  • I upstreamed the bug, but can not figure out a proper link. The bug id is 15724217 (bugreport.apple.com). – Iskren Ivov Chernev Dec 25 '13 at 20:14

1 Answers1

0

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.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265