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
DatePicker is displaying wrong default date just in March for years greater than 2024
if we select 30-03-2025 and we open the picker the picker is showing 29-03-2025
or
if we select 29-03-2026 and we open the picker the picker is showing 28-03-2026
Expected Behavior
the picker should show same date as the selected date
30-03-2025 ------> 30-03-2025
Issue
DatePicker is displaying wrong default date just in March for years greater than 2024
if we select 30-03-2025 and we open the picker the picker is showing 29-03-2025
or
if we select 29-03-2026 and we open the picker the picker is showing 28-03-2026
Expected Behavior
the picker should show same date as the selected date
30-03-2025 ------> 30-03-2025
Code
<DatePicker date={this.state.defaultDate} mode="date" format="YYYY-MM-DD" onDateChange={(date) => { console.log(date); this.setState({ defaultDate: date, }); }} />
Environment
"react-native-datepicker": "^1.7.2",
react-native -v
:node -v
:npm -v
:yarn --version
:target platform
: Android | iOSoperating system
:The text was updated successfully, but these errors were encountered: