Rocky_Mountain_Vending/.pnpm-store/v10/files/2d/77480de51c709fed8494697bdbd02cb647a79596ddb9d57e3cd422a4153cf02d0649910e1529507af91b3a3f9406c6a3eda029c0a3a3b47349f5932993d317
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

19 lines
602 B
Text

import { defaultDateLib, type DateLib } from "../classes/DateLib.js";
/**
* Formats the month for the dropdown option label.
*
* @defaultValue The localized full month name.
* @param month The date representing the month.
* @param dateLib The date library to use for formatting. Defaults to
* `defaultDateLib`.
* @returns The formatted month name as a string.
* @group Formatters
* @see https://daypicker.dev/docs/translation#custom-formatters
*/
export function formatMonthDropdown(
month: Date,
dateLib: DateLib = defaultDateLib
): string {
return dateLib.format(month, "LLLL");
}