Rocky_Mountain_Vending/.pnpm-store/v10/files/4d/a17b5daf0997ba2c36ff7fcb25f7eeaeef62670690346f387788ffe062a9f4f4ddadc4e9cc656ac83d46277a88355aab5571d97c7cee028d6c8e704375237d
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

29 lines
612 B
Text

"use strict";
exports.getMonth = getMonth;
var _index = require("./toDate.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, _index.toDate)(date, options?.in).getMonth();
}