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").
Declaration
DayPilot.Calendar.allDayEndPossible Values
"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)
Default Value
"DateTime"Notes
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.
See Also
All-Day Events [doc.daypilot.org]
JavaScript Calendar [javascript.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot