Rocky_Mountain_Vending/.pnpm-store/v10/files/b0/5c9325407571b7898f8119c31c04136c2e6aa0cd974eecd1fa68db2ce0c954ce0cd353b68dcc2af43fe370816616e3e3cc7f63fd601486f373305c8c61f29d
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

17 lines
No EOL
629 B
Text

import { DateLib } from "../classes/DateLib.js";
/**
* Formats the day date shown in the day cell.
*
* @defaultValue `d` (e.g., "1").
* @param date The date to format.
* @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 day as a string.
* @group Formatters
* @see https://daypicker.dev/docs/translation#custom-formatters
*/
export function formatDay(date, options, dateLib) {
return (dateLib ?? new DateLib(options)).format(date, "d");
}
//# sourceMappingURL=formatDay.js.map