The eventEndSpec property determines how the monthly calendar will interpret the event end date (exact point in time or date-only).
Possible values:
"DateTime"
The end date will be interpreted as an exact time point.
dp.eventEndSpec = "DateTime"; // default
dp.events.list = [ { id: 1, start: "2022-01-01", // equals to "2022-01-01T00:00:00" end: "2022-01-02", // equals to "2022-01-02T00:00:00" } ];
dp.eventEndSpec = "Date"; dp.events.list = [ { id: 1, start: "2022-01-01", // equals to "2022-01-01T00:00:00" end: "2022-01-01",// equals to "2022-01-01T00:00:00", will be interpreted as "2022-01-02T00:00:00" } ];