The dayEndsHour property (number) sets the last visible hour of the JavaScript Calendar grid.
DayPilot.Calendar.dayEndsHour24Use this property together with DayPilot.Calendar.dayBeginsHour to control the visible hour range.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
dayEndsHour: 23,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
dayEndsHour: 23,
// ...
};React
<DayPilotCalendar
dayEndsHour={23}
{/* ... */}
/>Vue
<DayPilotCalendar
:dayEndsHour="23"
<!-- ... -->
/>Overnight Scheduling [doc.daypilot.org]