Closed
Bug 1852422
Opened 2 years ago
Closed 2 years ago
Accept "Z" as a time zone in Date.parse
Categories
(Core :: JavaScript: Standard Library, enhancement, P3)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
120 Branch
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: vinny.diehl, Assigned: vinny.diehl)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed, parity-chrome, parity-ie)
Attachments
(1 file)
The format 08/15/2015 12:00:00Z should be accepted and produce a result equal to 08/15/2015 12:00:00 GMT. "Zulu time" as it is called is a common format used in military and aviation and is accepted by V8 and Chakra.
The "Z" should directly follow the time with no whitespace necessary in between (however, whitespace is allowed).
I saw this mentioned in Bug 1760290 but that pertains to the YYYY.MM.DD format, so I decided to open a separate bug 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/0d5209658cf4
Allow zulu time Date format r=arai
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
| Assignee | ||
Updated•2 years ago
|
Blocks: sm-date-parse
| Assignee | ||
Comment 5•2 years ago
|
||
Relnoted here: https://github.com/mdn/content/pull/30235
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
•