Skip to content

Conversation

@jochenklar
Copy link
Member

date.toISOString().slice(0,10) switches to the day before due to timezone issues.

@jochenklar jochenklar self-assigned this Nov 4, 2025
Copy link
Member

@MyPyDavid MyPyDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this bug was fixed yesterday today!

@jochenklar jochenklar merged commit cf3cc6d into 2.4.0 Nov 4, 2025
18 checks passed
@MyPyDavid MyPyDavid added this to the RDMO 2.4.0 milestone Nov 4, 2025
@MyPyDavid MyPyDavid deleted the fix_datepicker branch November 4, 2025 16:12
@MyPyDavid
Copy link
Member

did this have to do with this issue? 😏 Hacker0x01/react-datepicker#1018

@MyPyDavid MyPyDavid added the javascript Pull requests that update Javascript code label Nov 7, 2025
@jochenklar
Copy link
Member Author

Yes I think its the same, I solved it here by not taking time zones into account which .toISOString() does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants