Why DeviceInfo.getTimezone() method removed in version 3.0.0?
And how I can get the timezone in lastest version react-native-device-info?
It was moved to react-native-localize, check the CHANGELOG please, I think this issue can be closed.
Yep. For breaking changes the docs are vital
It was moved to react-native-localize, check the CHANGELOG please, I think this issue can be closed.
thank you (y)
For anyone else that looks at this - please know that we took a poll even, we're not trying to just break everyone. The react-native-localize package has a fantastic API and is a good home for these. In particular - using it in my work project (basically copying the example there) I have my app dynamically changing translated languages when the user changes their system language. It's very cool.
Good luck
Most helpful comment
For anyone else that looks at this - please know that we took a poll even, we're not trying to just break everyone. The react-native-localize package has a fantastic API and is a good home for these. In particular - using it in my work project (basically copying the example there) I have my app dynamically changing translated languages when the user changes their system language. It's very cool.
Good luck