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
And I am picking 21st of February 2023 and I would expect the results to come 21st of February but the picked date is shown for 20th of February like this:
A date has been picked: 2023-02-20
Original date 2023-02-20T17:52:01.000Z
My handleConfirm code:
consthandleConfirm=(date)=>{console.log("A date has been picked: ",date.toISOString().split('T')[0]);console.log("Original date ",date);hideDatePicker();};
Note:
Date picker is usually working fine on my working hours (09:00 AM to 06:00PM)
Platforms
Both
The text was updated successfully, but these errors were encountered:
When using this date picker anywhere between 12:00 AM to 12:59 AM (I suspect) the picked date is off by one day!
For example my code has mode selected to date:
And I am picking 21st of February 2023 and I would expect the results to come 21st of February but the picked date is shown for 20th of February like this:
My handleConfirm code:
Note:
Date picker is usually working fine on my working hours (09:00 AM to 06:00PM)
Platforms
Both
The text was updated successfully, but these errors were encountered: