index.js 273 B

123456789
  1. export default (function (o, c, d) {
  2. var proto = c.prototype;
  3. proto.isTomorrow = function () {
  4. var comparisonTemplate = 'YYYY-MM-DD';
  5. var tomorrow = d().add(1, 'day');
  6. return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate);
  7. };
  8. });