MrJelly
Results
1
issues of
MrJelly
如题,如果week小于start时结果错误,可参考: getWeeksOfMonth:function(year, month, start){ let week = Solar.fromYmd(year, month, 1).getWeek() week = week < start ? week + 7 : week return Math.ceil((this.getDaysOfMonth(year, month) + week - start)/7); }