Rocky_Mountain_Vending/.pnpm-store/v10/files/fb/1fd0cfde45a105007e397c3c21d9ec3f9c3f1de73b717dcc2f6793d621209aee727b9215cc2afe0691373be002da0b5bfd79130741e470ed068b79fdddde97
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

36 lines
830 B
Text

"use strict";
exports.isTomorrow = isTomorrow;
var _index = require("./addDays.cjs");
var _index2 = require("./constructNow.cjs");
var _index3 = require("./isSameDay.cjs");
/**
* The {@link isTomorrow} function options.
*/
/**
* @name isTomorrow
* @category Day Helpers
* @summary Is the given date tomorrow?
* @pure false
*
* @description
* Is the given date tomorrow?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is tomorrow
*
* @example
* // If today is 6 October 2014, is 7 October 14:00:00 tomorrow?
* const result = isTomorrow(new Date(2014, 9, 7, 14, 0))
* //=> true
*/
function isTomorrow(date, options) {
return (0, _index3.isSameDay)(
date,
(0, _index.addDays)((0, _index2.constructNow)(options?.in || date), 1),
options,
);
}