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>
18 lines
614 B
Text
18 lines
614 B
Text
import { type DateLib } from "../classes/DateLib.js";
|
|
/**
|
|
* Formats the year for the dropdown option label.
|
|
*
|
|
* @param year The year to format.
|
|
* @param dateLib The date library to use for formatting. Defaults to
|
|
* `defaultDateLib`.
|
|
* @returns The formatted year as a string.
|
|
* @group Formatters
|
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
*/
|
|
export declare function formatYearDropdown(year: Date, dateLib?: DateLib): string;
|
|
/**
|
|
* @private
|
|
* @deprecated Use `formatYearDropdown` instead.
|
|
* @group Formatters
|
|
*/
|
|
export declare const formatYearCaption: typeof formatYearDropdown;
|