Rocky_Mountain_Vending/.pnpm-store/v10/files/b6/fb88a659bcf32317b91197ec4a5bff49565d8f72112f678779f690e2579ab5cce8ce2976caebe36679b653fb57febd17aae2961ef8d5e68ad85143cf7e584a
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

35 lines
923 B
Text

"use strict";
exports.isThisMonth = isThisMonth;
var _index = require("./constructFrom.cjs");
var _index2 = require("./constructNow.cjs");
var _index3 = require("./isSameMonth.cjs");
/**
* The {@link isThisMonth} function options.
*/
/**
* @name isThisMonth
* @category Month Helpers
* @summary Is the given date in the same month as the current date?
* @pure false
*
* @description
* Is the given date in the same month as the current date?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is in this month
*
* @example
* // If today is 25 September 2014, is 15 September 2014 in this month?
* const result = isThisMonth(new Date(2014, 8, 15))
* //=> true
*/
function isThisMonth(date, options) {
return (0, _index3.isSameMonth)(
(0, _index.constructFrom)(options?.in || date, date),
(0, _index2.constructNow)(options?.in || date),
);
}