Skip to content

Fix datepicker date conversion in interview - #1465

Merged
jochenklar merged 1 commit into
2.4.0from
fix_datepicker
Nov 4, 2025
Merged

Fix datepicker date conversion in interview#1465
jochenklar merged 1 commit into
2.4.0from
fix_datepicker

Conversation

@jochenklar

Copy link
Copy Markdown
Member

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

@jochenklar jochenklar self-assigned this Nov 4, 2025

@MyPyDavid MyPyDavid left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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.

2 participants