mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 866 forks source link

allDay true breaks week-view and day-view when using dayjs #1723

Open icon02 opened 4 months ago

icon02 commented 4 months ago

Describe the bug I set up the calendar with dayjs according to the dayjs-demo. When i have an event with allDay: true set, it breaks the week-view as well as the day-view (does not render either view). The console shows the following errors:

TypeError: moment.max is not a function TypeError: Cannot read properties of undefined (reading 'allDayEventRows') grafik

Minimal reproduction of the problem with instructions

Stackblitz Demo

Versions

matts-bot[bot] commented 4 months ago

Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me