DayPilot.Locale.monthNames

The monthNames property (string[]) holds the full month names used by a locale.

Declaration

DayPilot.Locale.monthNames

Default Value

["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

Notes

  • The array items are ordered from January through December.

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

Example

const locale = new DayPilot.Locale("es-custom", {
  monthNames: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
  // ...
});
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