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.
22 lines
620 B
22 lines
620 B
1 year ago
|
!(function (o, e) {
|
||
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
||
|
module.exports = e();
|
||
|
} else {
|
||
|
if ('function' == typeof define && define.amd) {
|
||
|
define(e);
|
||
|
} else {
|
||
|
(o = 'undefined' != typeof globalThis ? globalThis : o || self).dayjs_plugin_isTomorrow = e();
|
||
|
}
|
||
|
}
|
||
|
})(this, function () {
|
||
|
'use strict';
|
||
|
|
||
|
return function (o, e, t) {
|
||
|
e.prototype.isTomorrow = function () {
|
||
|
var o = 'YYYY-MM-DD';
|
||
|
var e = t().add(1, 'day');
|
||
|
return this.format(o) === e.format(o);
|
||
|
};
|
||
|
};
|
||
|
});
|