You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
576 B
19 lines
576 B
!(function (e, t) {
|
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
|
module.exports = t();
|
|
} else {
|
|
if ('function' == typeof define && define.amd) {
|
|
define(t);
|
|
} else {
|
|
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_plugin_isLeapYear = t();
|
|
}
|
|
}
|
|
})(this, function () {
|
|
'use strict';
|
|
|
|
return function (e, t) {
|
|
t.prototype.isLeapYear = function () {
|
|
return (this.$y % 4 == 0 && this.$y % 100 != 0) || this.$y % 400 == 0;
|
|
};
|
|
};
|
|
});
|
|
|