DayPilot.Locale.timePattern

The timePattern property (string) specifies the pattern used to format a DayPilot.Date value as time without the date part.

Declaration

DayPilot.Locale.timePattern

Default Value

"H:mm"

Notes

It uses the syntax supported by DayPilot.Date.toString().

Example

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

See Also

DayPilot.Date.toString()

DayPilot.Locale Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript