Open
Description
The timezone plugin throws a timezone RangeError error when calling .tz because React Native Hermes engine doesn't has support for Intl timezones and toLocaleString
This two lines are the ones that are throwing the error
https://github.com/iamkun/dayjs/blob/dev/src/plugin/timezone/index.js#L20
https://github.com/iamkun/dayjs/blob/dev/src/plugin/timezone/index.js#L98
Could be posible to update the plugin to not depend on Intl and toLocaleString('en-US', { timeZone: timezone }) ?
Metadata
Metadata
Assignees
Labels
No labels