Closed Bug 1863489 Opened 5 months ago Closed 5 months ago

Date with format Mon-DD-YYYY parses incorrectly

Categories

(Core :: JavaScript: Standard Library, defect, P3)

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, parity-safari)

Attachments

(1 file)

> eshost -te 'new Date("Sep-26-1995")'
Engine Result
JavaScriptCore Tue Sep 26 1995 00:00:00 GMT-0700 (Mountain Standard Time)
SpiderMonkey Mon Sep 26 -1995 00:00:00 GMT-0728 (Mountain Standard Time)
V8 Tue Sep 26 1995 00:00:00 GMT-0700 (Mountain Standard Time)

Bug 1617562 has a patch which tries to find and set the month first thing in the function, so once that lands this should just be a matter of modifying TryParseDashedDatePrefix.

Priority: -- → P3
Assignee: nobody → vinny.diehl
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/43bee97ffb8c
Add support for Date format MMM-dd-yyyy r=arai
Status: ASSIGNED → RESOLVED
Closed: 5 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: