Closed
Bug 1863125
Opened 2 years ago
Closed 2 years ago
Accept milliseconds for more Date formats
Categories
(Core :: JavaScript: Standard Library, defect)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
121 Branch
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: vinny.diehl, Assigned: vinny.diehl)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed, parity-chrome)
Attachments
(1 file)
We currently only accept milliseconds in ParseISOStyleDate. Most formats therefore get rejected with milliseconds:
| Format | JSC | SM | V8 |
|---|---|---|---|
"1995-09-26T00:00:00.001" |
✔️ | ✔️ | ✔️ |
"1995-Sep-26 00:00:00.001" |
❌ | ❌ | ✔️ |
"Sep 26 1995 00:00:00.001" |
❌ | ❌ | ✔️ |
We should probably use ParseFractional for this.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → vinny.diehl
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/3f49a41a22f2
Accept milliseconds for more Date formats r=arai
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
| Assignee | ||
Comment 4•2 years ago
|
||
Relnoted here: https://github.com/mdn/content/pull/30234
| Assignee | ||
Updated•2 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•