The timeFormat property (string) specifies the hour clock format used by the Scheduler.
DayPilot.Scheduler.timeFormat"Auto" tries to determine the format from the culture or locale.
"Clock12Hours" uses the 12-hour clock format.
"Clock24Hours" uses the 24-hour clock format.
"Auto"JavaScript
const dp = new DayPilot.Scheduler("dp", {
timeFormat: "Clock24Hours",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
timeFormat: "Clock24Hours",
// ...
};React
<DayPilotScheduler
timeFormat="Clock24Hours"
{/* ... */}
/>Vue
<DayPilotScheduler
timeFormat="Clock24Hours"
<!-- ... -->
/>