Closed Bug 1863125 Opened 6 months ago Closed 6 months ago

Accept milliseconds for more Date formats

Categories

(Core :: JavaScript: Standard Library, defect)

defect

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.

Blocks: 1863126
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
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: