Skip to content

Commit

Permalink
relnote(120): Zulu timezone for non-ISO Date.parse formats (#30235)
Browse files Browse the repository at this point in the history
* relnote(120): Zulu timezone for non-ISO `Date.parse` formats

* Add Bugzilla link

Co-authored-by: Zach Fox <[email protected]>

---------

Co-authored-by: Zach Fox <[email protected]>
  • Loading branch information
vinnydiehl and zfox23 authored Nov 20, 2023
1 parent a19d749 commit 669c13f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/en-us/mozilla/firefox/releases/120/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@ This article provides information about the changes in Firefox 120 that affect d
These dates will be parsed with behavior typical of other non-ISO dates, such as local time zone and month rollover (April 31 rolls over to May 1 since April 31 doesn't exist).

- Requirements for characters directly following numbers have been loosened to accept new formats ([Firefox bug 449921](https://bugzil.la/449921)), including:

- `"DDMonYYYY"`
- `"Mon.DD.YYYY"`
- `"DD.Mon.YYYY"`
- `"YYYY.MM.DD"`
- `"Mon DD YYYY hh:mmXm"` (`am`/`pm` directly following time)

- Timezone `'Z'` is now accepted for non-ISO formats (e.g. `Jan 1 1970 10:00Z`) ([Firefox bug 1852422](https://bugzil.la/1852422))

#### Removals

### SVG
Expand Down

0 comments on commit 669c13f

Please sign in to comment.