Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set locale and timezone info if not using Expo #286

Open
marandaneto opened this issue Oct 14, 2024 · 0 comments
Open

Set locale and timezone info if not using Expo #286

marandaneto opened this issue Oct 14, 2024 · 0 comments

Comments

@marandaneto
Copy link
Member

marandaneto commented Oct 14, 2024

Description

https://github.com/zoontek/react-native-localize

if (OptionalExpoLocalization) {
properties.$locale = OptionalExpoLocalization.locale
properties.$timezone = OptionalExpoLocalization.timezone
}

This is only set if using Expo but not other alternative is given.

  • BREAKING CHANGE: remove is24Hour, getTimezone, isAutoTimeZone and isAutoDateAndTime, getDeviceLocale, getDeviceCountry, getPreferredLocales

Removed from https://github.com/react-native-device-info/react-native-device-info/blob/34a80b6e1516f04f251a50273c41b1f3fb39e1f7/CHANGELOG.md?plain=1#L941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant