Rocky_Mountain_Vending/.pnpm-store/v10/files/ae/bdd99989e02644e0f135fc28543d8c45a5142e445e615b87745698eea784727782785e6e2bfac1b238636b0bd6bd042a137cf644998a9a3a40c079c70ce6a2
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

23 lines
No EOL
809 B
Text

import { DateLib } from "../classes/DateLib.js";
/**
* Formats the caption of the month.
*
* @defaultValue `LLLL y` (e.g., "November 2022").
* @param month The date representing the month.
* @param options Configuration options for the date library.
* @param dateLib The date library to use for formatting. If not provided, a new
* instance is created.
* @returns The formatted caption as a string.
* @group Formatters
* @see https://daypicker.dev/docs/translation#custom-formatters
*/
export function formatCaption(month, options, dateLib) {
return (dateLib ?? new DateLib(options)).format(month, "LLLL y");
}
/**
* @private
* @deprecated Use {@link formatCaption} instead.
* @group Formatters
*/
export const formatMonthCaption = formatCaption;
//# sourceMappingURL=formatCaption.js.map