Parsing of ISO string not correctly formatted in Firefox
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hi folks,
I get an ISO string from the backend like this: _2022-03-10T17:00:00+01:00_. When parsing it in Chrome (v95.0.4638.54 (Official Build)) and Safari (v14.1.1 (16611.2.7.1.4) with `dayjs('2022-03-10T17:00:00+01:00')` it results in the following output:

This is, compared with the ISO string, the correct output. When logging this string in Firefox, however, it results in this output:

As you can see, I did set my locale correctly. I tried it with a timestamp as well. Same output. Is there something I am missing? I read something about a deprecated standard of ISO strings. Could that be the case here?
Thank you guys in advance for any help!
Contributor guide
Assessment
This issue has not been assessed yet.