Closed
Bug 1863489
Opened 2 years ago
Closed 2 years ago
Date with format Mon-DD-YYYY parses incorrectly
Categories
(Core :: JavaScript: Standard Library, defect, P3)
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, 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.
Updated•2 years ago
|
Priority: -- → P3
| 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/43bee97ffb8c
Add support for Date format MMM-dd-yyyy 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
•