Rocky_Mountain_Vending/.pnpm-store/v10/files/40/f514383285dd90c63da59a052a9ed7e9587afbb8ca7214be35e358ed580786a64fe377f859f9db91fa9e538d146377a2032aadca8dcb56cf01bf32b791e688
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

31 lines
672 B
Text

"use strict";
exports.getMonth = getMonth;
var _index = require("./toDate.cjs");
var _index2 = require("./_core/getMonth.cjs");
/**
* The {@link getMonth} function options.
*/
/**
* @name getMonth
* @category Month Helpers
* @summary Get the month of the given date.
*
* @description
* Get the month of the given date.
*
* @param date - The given date
* @param options - An object with options
*
* @returns The month index (0-11)
*
* @example
* // Which month is 29 February 2012?
* const result = getMonth(new Date(2012, 1, 29))
* //=> 1
*/
function getMonth(date, options) {
return (0, _index2.getMonth)((0, _index.toDate)(date, options?.in));
}