The locale property (string | DayPilot.Locale) sets the locale used by the JavaScript Scheduler component to apply culture-specific settings.
You can specify either a DayPilot.Locale object or a locale id string such as "en-us".
DayPilot.Scheduler.localeThe selected locale affects localized date and time formatting, including Scheduler header date formatting.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
locale: "en-us",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
locale: "en-us",
// ...
};React
<DayPilotScheduler
locale="en-us"
{/* ... */}
/>Vue
<DayPilotScheduler
locale="en-us"
<!-- ... -->
/>Header Date Format [doc.daypilot.org]
Localization [doc.daypilot.org]