DayPilot.Locale.monthNamesShort

The monthNamesShort property (string[]) defines the abbreviated month names used by the locale, from January through December.

Declaration

DayPilot.Locale.monthNamesShort

Default Value

['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']

Notes

  • The array should contain 12 items in calendar order, starting with January.

  • It is used for the "MMM" date formatting pattern in DayPilot.Date.toString().

Example

const locale = DayPilot.Locale.find("en-us");
console.log(locale.monthNamesShort);

See Also

DayPilot.Date.toString()

DayPilot.Locale Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript