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.
21 lines
600 B
21 lines
600 B
!(function (e, o) {
|
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
|
module.exports = o();
|
|
} else {
|
|
if ('function' == typeof define && define.amd) {
|
|
define(o);
|
|
} else {
|
|
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_plugin_isToday = o();
|
|
}
|
|
}
|
|
})(this, function () {
|
|
'use strict';
|
|
|
|
return function (e, o, t) {
|
|
o.prototype.isToday = function () {
|
|
var e = 'YYYY-MM-DD';
|
|
var o = t();
|
|
return this.format(e) === o.format(e);
|
|
};
|
|
};
|
|
});
|
|
|