The locale property (string or DayPilot.Locale) specifies the culture settings used for date parsing and formatting.
Declaration
DayPilot.DatePicker.localeDefault Value
"en-us"Notes
You can use either a locale id (string) or a DayPilot.Locale object.
Example
const picker = new DayPilot.DatePicker({
target: "start",
locale: "de-de",
// ...
});
picker.show();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot