The weekStarts property (number) specifies the first day of the week for the locale.
Declaration
DayPilot.Locale.weekStartsPossible Values
0- Sunday1- Monday2- Tuesday3- Wednesday4- Thursday5- Friday6- Saturday
Default Value
0 // SundayNotes
Use an integer from 0 to 6, where 0 represents Sunday and 6 represents Saturday.
Example
const locale = DayPilot.Locale.find("en-us");
console.log(locale.weekStarts);See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot