ロケールに従って週年を取得します。 これを使用するには、WeekYearプラグインが必要です。 dayjs.extend(weekYear) dayjs.extend(weekOfYear) dayjs().weekYear()