Month Abbreviations
Locale#monthsShort
should be an array of the month abbreviations.
This requires the
UpdateLocale
plugin to work
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
.