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 guys, first of all I wanted to thank you for your hard work with this amazing calendar.
Do you want to request a feature or report a bug?
report a bug
What's the current behavior?
I tried the demo page and you can find a screenshot below how I see the calendar there:
My current local timezone is America/Los_Angeles (UTC-7:00). The problem is that I can see additional two hours in the calendar, so I have two 12 AM and 1 AM slots at the top and at the bottom. Also slot lines for Sunday are not aligned with other days. Note that this problem is reproducible only for week and day view and only for the week (or day) when Daylight Saving Time ends. Here DST ends on the 4th of November, so to reproduce the bug you need to navigate to the view with that date.
What's the expected behavior?
Calendar should be rendered with 24 hours max within a day.
I don't think we need to get absolute value here because as far as I understand here we use it for calculating the number of slots and we need to adjust difference accordingly: add 1 hour when DST starts and subtract 1 hour when DST ends.
What do you think? I'll be happy to create a PR if you agree with the solution.
The text was updated successfully, but these errors were encountered:
I'm never sure what the right answer is with DST but we're happy to take a PR! As long as it seems to work for both the start and end of day I'm happy to merge it
Hi guys, first of all I wanted to thank you for your hard work with this amazing calendar.
Do you want to request a feature or report a bug?
report a bug
What's the current behavior?
I tried the demo page and you can find a screenshot below how I see the calendar there:
My current local timezone is America/Los_Angeles (UTC-7:00). The problem is that I can see additional two hours in the calendar, so I have two
12 AM
and1 AM
slots at the top and at the bottom. Also slot lines for Sunday are not aligned with other days. Note that this problem is reproducible only for week and day view and only for the week (or day) when Daylight Saving Time ends. Here DST ends on the 4th of November, so to reproduce the bug you need to navigate to the view with that date.What's the expected behavior?
Calendar should be rendered with 24 hours max within a day.
Possible solution
I think the problem is in this line of code. I think instead of
we should have
I don't think we need to get absolute value here because as far as I understand here we use it for calculating the number of slots and we need to adjust difference accordingly: add 1 hour when DST starts and subtract 1 hour when DST ends.
What do you think? I'll be happy to create a PR if you agree with the solution.
The text was updated successfully, but these errors were encountered: