The allDayEnd property (string) determines how the end date/time values of Calendar all-day events are handled.
The Calendar component can interpret the end value as a date/time ("DateTime") or a date only ("Date").
DayPilot.Calendar.allDayEnd"DateTime" - treat the end date as an exact date/time point ("2028-05-02T00:00:00" means until the end of May 1, 2028)
"Date" - treat the end date as a date only ("2028-05-02T00:00:00" or "2028-05-02" means until the end of May 2, 2028)
"DateTime"If you store all-day event end as a date-only value in the database, use "Date". Otherwise the all-day events will be displayed one day shorter.
All-Day Events [doc.daypilot.org]
JavaScript Calendar [javascript.daypilot.org]