You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment out line 4 (and also line 8) to switch to your browsers native Intl implementation, I tried with Chrome. When doing this, it correctly renders as 11:55 AM
Expected behavior
The time should be rendered as 11:55 AM
Desktop (please complete the following information):
OS: Windows
Browser chrome
Version 85
The text was updated successfully, but these errors were encountered:
Which package?
intl-datetimeformat
Describe the bug
When formatting
new Date("2020-09-16T11:55:32.491+02:00")
with a 12 hour clock locale (e.g. "en-US"), it gets formatted as 11:55 PMTo Reproduce
Visit the following codesandbox: https://codesandbox.io/s/flamboyant-nightingale-zycp7?file=/src/App.tsx
Comment out line 4 (and also line 8) to switch to your browsers native Intl implementation, I tried with Chrome. When doing this, it correctly renders as 11:55 AM
Expected behavior
The time should be rendered as 11:55 AM
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: