The showEventStartEnd property (boolean) specifies whether the JavaScript Calendar component appends event start and end time information to the event text.
DayPilot.Calendar.showEventStartEndfalseThe appended time text uses the date/time formatting defined by DayPilot.Calendar.locale.
If you need full control over the displayed event text or HTML, customize it using DayPilot.Calendar.onBeforeEventRender.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
showEventStartEnd: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
showEventStartEnd: true,
// ...
};React
<DayPilotCalendar
showEventStartEnd={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:showEventStartEnd="true"
<!-- ... -->
/>DayPilot.Calendar.onBeforeEventRender
All-Day Events [doc.daypilot.org]