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
The calendar should now include duplicate times for 04:00+03:00 hour.
This is caused by changes made in PR #46. The original method was correct as the time was adjusted based on UTC-time, but after the changes, the time is tied on the user's time zone rules.
Setting the hour to 3 or 4 for the original 2024-03-01 00:00:00+02:00 time produces 2024-03-01 04:00:00+03:00 time, thus a duplicate hour slot.
Using the original way of calculating hours generates correct times as seen below.
The text was updated successfully, but these errors were encountered:
ptcs-juma
changed the title
Hour slots are calculated with timezone rules, causing duplicate hour to appear in single day view
Hour slots are calculated with DST, causing duplicate hour to appear in single day view
Feb 1, 2024
How to reproduce the bug:
This is caused by changes made in PR #46. The original method was correct as the time was adjusted based on UTC-time, but after the changes, the time is tied on the user's time zone rules.
Setting the hour to 3 or 4 for the original
2024-03-01 00:00:00+02:00
time produces2024-03-01 04:00:00+03:00
time, thus a duplicate hour slot.Using the original way of calculating hours generates correct times as seen below.
The text was updated successfully, but these errors were encountered: