cultivationApp/node_modules/dayjs/esm/plugin/isLeapYear/index.js

7 lines
181 B
JavaScript
Raw Permalink Normal View History

2023-10-17 16:02:55 +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;
};
});