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
produces a crash with this error: com.facebook.hermes.intl.JSRangeErrorException: Invalid timezone name!
We are using the @formatjs polyfill on iOS which supports both IANA timezones while Hermes' Intl only looks to be supporting the old Europe/Kiev timezone.
Bug Description
It appears that the
Europe/Kiev
timezone has been renamed toEurope/Kyiv
as of March 10, 2022 (per the IANA Database changelog).Currently, the following code:
produces a crash with this error:
com.facebook.hermes.intl.JSRangeErrorException: Invalid timezone name!
We are using the @formatjs polyfill on iOS which supports both IANA timezones while Hermes' Intl only looks to be supporting the old
Europe/Kiev
timezone.Hermes git revision (if applicable):
React Native version: 0.72.8
Platform: Android
OS:
Steps To Reproduce
Attempt to format using the
Europe/Kyiv
timezone on Android using Hermes' Intl library.The Expected Behavior
It should correctly format the date rather than crash.
The text was updated successfully, but these errors were encountered: