DayPilot.Locale.dayNames

The dayNames property (string[]) holds the full day-of-week names used by a locale.

Declaration

DayPilot.Locale.dayNames

Default 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

DayPilot.Date.toString()

DayPilot.Locale.register()

DayPilot.Locale Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript