Closed
Bug 746028
Opened 12 years ago
Closed 12 years ago
Date.prototype.toISOString not using extended years ala ES5 spec
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 730831
People
(Reporter: roger.andrews, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120312181643 Steps to reproduce: (new Date(999999999999999)).toISOString() Actual results: Result was "33658-09-27T01:46:39.999Z" Expected results: Result should be "+033658-09-27T01:46:39.999Z" (i.e. using signed 6-digit extended years) according to ES5 spec section 15.9.1.15.1 Similar spec variance happens with a large negative year; and indeed with any year outside 0000-9999.
Reporter | ||
Updated•12 years ago
|
Component: General → JavaScript Engine
Reporter | ||
Comment 1•12 years ago
|
||
Same issue as: Bug 730831 - Date.prototype.toISOString returns not a valid ISO-8601 string
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•