Support for timezoneOffsetInMinutes in Android
See original GitHub issueFeature request
Why it is needed
Our app uses in-app timezone rather than the device’s timezone. So we need to set the timezone offset in datetime pickers in android like we do for iOS datetime pickers.
Code sample
<DateTimePicker
...
timezoneOffsetInMinutes={30}
...
/>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Support for timezoneOffsetInMinutes in Android #284 - GitHub
So we need to set the timezone offset in datetime pickers in android like we do for iOS datetime pickers. Code sample. <DateTimePicker...
Read more >react-native-community/datetimepicker - npm
timeZoneOffsetInMinutes ( optional , iOS and Android only ). Allows changing of the timeZone of the date picker. By default, it uses the ......
Read more >React native date picker component works weird in android
Try removing the prop timeZoneOffsetInMinutes={0} . Which Allows changing of the timeZone of the date picker.
Read more >npm:react-native-date-picker-bugfix - Skypack.dev
Supports Android and iOS. ... Supporting iOS and Android ... timeZoneOffsetInMinutes, Timezone offset in minutes (default: device's timezone).
Read more >React Native date & time picker component for iOS and Android
Please note that we support iOS >= 10 but you need Xcode 11 to build. ... ( <DateTimePicker testID="dateTimePicker" timeZoneOffsetInMinutes={0} value={date} ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed. Can we lok at merging, or give me some feedback?
https://github.com/billnbell/datetimepicker
@bobdepreziz It’s not working at my end as well. I tried specifying many values in timeZoneOffsetInMinutes but always get the UTC time in the time picker. Can you suggest me how can I select time relative to my device’s timezone?