The locale property specifies the locale used by the JavaScript Month component.
Declaration
DayPilot.Month.localeNotes
You can specify the locale using a DayPilot.Locale object or a locale id string, for example "en-us".
Examples
JavaScript
const dp = new DayPilot.Month("dp", {
locale: "en-us",
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
locale: "en-us",
// ...
};React
<DayPilotMonth
locale="en-us"
{/* ... */}
/>Vue
<DayPilotMonth
locale="en-us"
<!-- ... -->
/>See Also
Localization [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot