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
Hi! First of all, thanks a lot for the work on this tool, it's great! I ran into an issue that somewhat resembles #991 but doesn't seem to be entirely the same (#991 occurred in 9.0.3 and should be fixed with 10.0.0 but for my problem, it's the opposite), so I created this bug report.
Describe the bug
I provide a fixed timezone with the timezone string prop (in my case: 'Europe/Brussels'). At the time of writing (December), we're in winter time, so outside of DST. When I choose a date and time outside of DST (for example in January), everything works as expected. But when I choose a date and time inside of DST (for example in June), when I confirm, one hour is added to the time I chose.
Some notes that might be useful:
This problem doesn't happen when I don't provide a timezone and I let the datepicker use the local timezone (which also happens to be Europe/Brussels).
The problem occurs the other way around too: when I'm inside DST (for example in June) and I pick a date outside DST (for example in January), one hour is subtracted from the time I chose.
This problem only started occurring in version 10.0.0. I didn't have the problem with version 9.0.3.
Hi! First of all, thanks a lot for the work on this tool, it's great! I ran into an issue that somewhat resembles #991 but doesn't seem to be entirely the same (#991 occurred in 9.0.3 and should be fixed with 10.0.0 but for my problem, it's the opposite), so I created this bug report.
Describe the bug
I provide a fixed timezone with the
timezone
string prop (in my case: 'Europe/Brussels'). At the time of writing (December), we're in winter time, so outside of DST. When I choose a date and time outside of DST (for example in January), everything works as expected. But when I choose a date and time inside of DST (for example in June), when I confirm, one hour is added to the time I chose.Some notes that might be useful:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The time should be the same as selected.
Screenshots
Desktop & mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: