The timeFormat property (string) sets the time format (12/24-hour clock) used when displaying time in the monthly calendar, including DayPilot.Month.eventStartTime and DayPilot.Month.eventEndTime.
DayPilot.Month.timeFormat"Auto" - uses the value defined by DayPilot.Month.locale.
"Clock12Hours" - displays time using a 12-hour clock.
"Clock24Hours" - displays time using a 24-hour clock.
"Auto"JavaScript
const dp = new DayPilot.Month("dp", {
timeFormat: "Clock12Hours",
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
timeFormat: "Clock12Hours",
// ...
};React
<DayPilotMonth
timeFormat="Clock12Hours"
{/* ... */}
/>Vue
<DayPilotMonth
timeFormat="Clock12Hours"
<!-- ... -->
/>