The eventMovingStartEndFormat property (string) specifies the date/time format used by the inline start and end indicators shown during event moving in the JavaScript Calendar component.
DayPilot.Calendar.eventMovingStartEndFormat"Auto" - uses H:mm in 24-hour locales and h:mm tt in 12-hour locales.
Custom format string - uses the pattern syntax documented by DayPilot.Date.toString() to format both inline indicators.
"Auto"The inline indicators are shown only when DayPilot.Calendar.eventMovingStartEndEnabled is set to true.
Use a custom format such as "h:mm tt" when you need the moving shadow to display a locale-independent time pattern.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
eventMovingStartEndFormat: "h:mm tt",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
eventMovingStartEndFormat: "h:mm tt",
// ...
};React
<DayPilotCalendar
eventMovingStartEndFormat="h:mm tt"
{/* ... */}
/>Vue
<DayPilotCalendar
eventMovingStartEndFormat="h:mm tt"
<!-- ... -->
/>Event Moving [doc.daypilot.org]
DayPilot.Calendar.eventMovingStartEndEnabled