purchase-let/node_modules/dayjs/esm/plugin/isLeapYear/index.js

7 lines
181 B
JavaScript
Raw Normal View History

2024-04-25 18:02:30 +08:00
export default (function (o, c) {
var proto = c.prototype;
proto.isLeapYear = function () {
return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0;
};
});