initial status
This commit is contained in:
9
node_modules/dayjs/esm/plugin/isTomorrow/index.js
generated
vendored
Normal file
9
node_modules/dayjs/esm/plugin/isTomorrow/index.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
export default (function (o, c, d) {
|
||||
var proto = c.prototype;
|
||||
|
||||
proto.isTomorrow = function () {
|
||||
var comparisonTemplate = 'YYYY-MM-DD';
|
||||
var tomorrow = d().add(1, 'day');
|
||||
return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate);
|
||||
};
|
||||
});
|
Reference in New Issue
Block a user