datepicker
datepicker copied to clipboard
February in a leap year
bug of displaying February in a leap year
https://github.com/qiuyaofan/datepicker/blob/af09df99da5fcc03adb2d55c99a1aa73e7145dec/js/datepicker.all.js#L1150
var day = parseInt(API.getMonthDay(month, year));
https://github.com/qiuyaofan/datepicker/blob/af09df99da5fcc03adb2d55c99a1aa73e7145dec/js/datepicker.all.js#L1219
begin = (parseInt(weekday) + day) % 7;
https://github.com/qiuyaofan/datepicker/blob/af09df99da5fcc03adb2d55c99a1aa73e7145dec/js/datepicker.all.js#L1221
var nextMax = ((6 - row - 1) * 7 + (6 - weekdayLast)) % 7;