isoWeeksInYear()


moment().isoWeeksInYear();

根据 ISO 星期获取当前 moment 年份的周数。

moment().isoWeeksInYear();

Gets the number of weeks in the current moment's year, according to ISO weeks.