weeksInYear()


moment().weeksInYear();

根据语言环境获取当前 moment 年份的周数。

moment().weeksInYear();

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