DayPilot.Locale.dayNamesShort

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

Declaration

DayPilot.Locale.dayNamesShort

Default Value

["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]

Notes

  • The array items are ordered from Sunday through Saturday.

  • This value is used for the "ddd" date-formatting pattern supported by DayPilot.Date.toString().

Example

const locale = new DayPilot.Locale("es-custom", {
  dayNamesShort: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"],
  // ...
});
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