是否闰年
这指示 Day.js 对象的年份是否是闰年。
This requires the
IsLeapYear
plugin to work
dayjs.extend(isLeapYear)
dayjs('2000-01-01').isLeapYear() // true
这指示 Day.js 对象的年份是否是闰年。
This requires the
IsLeapYear
plugin to work
dayjs.extend(isLeapYear)
dayjs('2000-01-01').isLeapYear() // true