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
When the dayEndHour > 23 or the dayStartHour < 0 the events render to the next or the previous day. If this isn't an intended behaviour the calendar should limit the day hour range.
It is mentioned in the docs that the value must be 0-23 (as 24:00 is 00:00 the next day). I guess instead of failing weirdly, I can change the behaviour to do Math.max(Math.min(23, dayStartHour), 0) which would probably help avoid errors like this.
Describe the bug
When setting the dayEndHour property of the calendar week view to 24, events that start at the beginning of the day don't render properly.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-b6tryr
Versions
@angular/core
: 7.2.7angular-calendar
: 0.26.6The text was updated successfully, but these errors were encountered: