API/api.medcify.app/node_modules/dayjs/esm/plugin/isLeapYear/index.js

7 lines
181 B
JavaScript
Raw Normal View History

2022-09-26 06:11:44 +00: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;
};
});