You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### `timeZoneName` (`optional`, `iOS and Android only`)
351
+
352
+
Allows changing of the time zone of the date picker. By default, it uses the device's time zone.
353
+
Use the time zone name from the IANA (TZDB) database name in https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
354
+
355
+
```js
356
+
// GMT+1
357
+
<RNDateTimePicker timeZoneOffsetInMinutes={60} />
358
+
```
359
+
347
360
#### `timeZoneOffsetInMinutes` (`optional`, `iOS and Android only`)
348
361
349
-
Allows changing of the timeZone of the date picker. By default, it uses the device's time zone.
350
-
We strongly recommend avoiding this prop on android because of known issues in the implementation (eg. [#528](https://github.com/react-native-datetimepicker/datetimepicker/issues/528)).
362
+
Allows changing of the time zone of the date picker. By default, it uses the device's time zone.
363
+
We **strongly** recommend using `timeZoneName` prop instead; this prop has known issues in the android implementation (eg. [#528](https://github.com/react-native-datetimepicker/datetimepicker/issues/528)).
0 commit comments