[Bug 26119] An upper limit to the length of a year should be specified.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26119

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Does Date (JS) has an upper limit?

Sort of.  It has the limit that only dates whose numeric value is < 1e8 days
(so about 273000 years from 1970) are representable.

It also defines the string format as YYYY-MM-DDTHH:mm:ss.sssZ, based on
ISO8601, but also defines a string format for years past that point.  See
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-extended-years

  new Date(4.32e15).toISOString()

seems to work in UAs, modulo
https://bugzilla.mozilla.org/show_bug.cgi?id=730831 in Firefox.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 18 June 2014 14:05:34 UTC