DayPilot.DatePicker.locale

The locale property (string or DayPilot.Locale) specifies the culture settings used for date parsing and formatting.

Declaration

DayPilot.DatePicker.locale

Default 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

DayPilot.Locale Class

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript