Closed
Bug 867496
Opened 12 years ago
Closed 7 years ago
toLocaleFormat "fake year" hack results in nonsense results
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 818634
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
Internally, |toLocaleFormat| turns the year 123 into 9923 before handing it to the platform |strftime| and then turns all occurrences back. This hack is web-visible:
> new Date(123, 3, 4).toLocaleFormat("9923")
123
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 1•7 years ago
|
||
toLocaleFormat was removed in bug 818634.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•