The dayNames property (string[]) holds the full day-of-week names used by a locale.
Declaration
DayPilot.Locale.dayNamesDefault Value
["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]Notes
The array items are ordered from Sunday through Saturday.
This value is used for the
"dddd"date-formatting pattern supported by DayPilot.Date.toString().
Example
const locale = new DayPilot.Locale("es-custom", {
dayNames: ["Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"],
// ...
});
DayPilot.Locale.register(locale);See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot