教程 dayjs tutorial

Week Year (ISO)

获取 ISO 周年。

提示

这依赖 IsoWeek 插件,才能正常运行

javascript
dayjs.extend(isoWeek);

dayjs().isoWeekYear();