Abidh
Abidh

Reputation: 467

React native date picker component works weird in android

Just replicated my issue here https://snack.expo.io/vER5Zz59S

When running it on android, the date changes to the next day upon clicking the button 'ok' multiple times even though the date in the picker is not changed. Please correct me if I did something wrong. Thanks!

Upvotes: 0

Views: 814

Answers (1)

imKrishh
imKrishh

Reputation: 977

Try removing the prop timeZoneOffsetInMinutes={0}. Which Allows changing of the timeZone of the date picker.

Upvotes: 2

Related Questions