react native datePicker component for both Android and IOS, useing DatePikcerAndroid, TimePickerAndroid and DatePickerIOS
2.12k
stars
725
forks
source link
When I add "format", Preview of datepicker shows wrong year #383
Closed
hinciler closed 4 years ago
Issue
If I change format of date, preview shows wrong year. This issue only happens if I choose 50 years ago of birthday.
Expected Behavior
Which I choose date : 19.01.1952 and when I save and come back to preview of datepicker it shows. 19.01.2052
Code
Environment
react-native -v
: ^0.59.9node -v
:npm -v
: 6.12.0yarn --version
:target platform
: 28 | 13.0.2operating system
: MacOS