Rocky_Mountain_Vending/.pnpm-store/v10/files/25/fef44daf684bfbd6d991aeb666c6dfc2a08bbc5e0fe3707c9db93cf1082e2a6170a61fb698815aca920eb2e20c0bebb79fbc434c9605779f2cbf01c72bef87
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

20 lines
741 B
Text

import { DateLib, type DateLibOptions } from "../classes/DateLib.js";
/**
* Generates the ARIA label for a weekday column header.
*
* @defaultValue `"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"`
* @param date - The date representing the weekday.
* @param options - Optional configuration for the date formatting library.
* @param dateLib - An optional instance of the date formatting library.
* @returns The ARIA label for the weekday column header.
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export function labelWeekday(
date: Date,
options?: DateLibOptions,
dateLib?: DateLib
): string {
return (dateLib ?? new DateLib(options)).format(date, "cccc");
}