The timeFormat property (string) specifies the clock format used by the locale.
Declaration
DayPilot.Locale.timeFormatPossible 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot