列出当前区域设置的月份和工作日
获取区域设置中的月份或工作日列表。
¥To get the list of months or weekdays in a locale.
This requires the
LocaleData
plugin to work
dayjs.extend(localeData)
dayjs.weekdays()
dayjs.weekdaysShort()
dayjs.weekdaysMin()
dayjs.monthsShort()
dayjs.months() // e.g. return [ 'January','February','March','April','May',
// 'June','July','August','September','October','November','December' ]