周 (ISO)
获取或设置 一年中的 ISO 周。
This requires the
等周
plugin to work
dayjs.extend(isoWeek)
dayjs().isoWeek() // gets the current ISO week of the year
newDate = dayjs().isoWeek(2) // returns new dayjs object
获取或设置 一年中的 ISO 周。
This requires the
等周
plugin to work
dayjs.extend(isoWeek)
dayjs().isoWeek() // gets the current ISO week of the year
newDate = dayjs().isoWeek(2) // returns new dayjs object