Month Abbreviations
Locale#monthsShort
should be an array of the month abbreviations.
TIP
This requires the UpdateLocale plugin to work
js
dayjs.extend(updateLocale);
dayjs.updateLocale('en', {
monthsShort: [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
],
});
Locale#monthsShort
can be a callback function the same as Locale#months
.