Closed jamesholcomb closed 1 year ago
As I suspected, it does appear to be a Hermes bug
Considering this is an issue with the runtime and not Luxon, I am going to close this issue.
Luxon does not ship its own locale data, but relies on the underlying JavaScript runtime (Hermes in this case) to have a correct Intl.DateTimeFormat
implementation.
Describe the bug In React Native 0.72.3 Android with Hermes,
toFormat
with "ZZZZ" outputs as an offset to GMT.On iOS Hermes,
toFormat
works as expected and returns the abbreviated timezone name.Reproduced on device (Samsung S10e) and emulator (Android API 33).
Perhaps this is an issue with Hermes, but my searches could not turn up any related info.
To Reproduce
Actual vs Expected behavior abbreviated named offset of CDT
Desktop (please complete the following information):
Additional context