The monthNames property (string[]) holds the full month names used by a locale.
Declaration
DayPilot.Locale.monthNamesDefault 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot