DayPilot.Locale.timeFormat

The timeFormat property (string) specifies the clock format used by the locale.

Declaration

DayPilot.Locale.timeFormat

Possible Values

  • "Clock12Hours" - uses a 12-hour clock.

  • "Clock24Hours" - uses a 24-hour clock.

Default Value

"Clock12Hours"

Example

const locale = DayPilot.Locale.find("en-us");
console.log(locale.timeFormat);

See Also

DayPilot.Locale Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript