星期名称
Locale#weekdays
应该是星期名称的数组。
¥Locale#weekdays
should be an array of the weekdays names.
This requires the
UpdateLocale
plugin to work
dayjs.extend(updateLocale)
dayjs.updateLocale('en', {
weekdays: [
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
]
})