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>
27 lines
No EOL
969 B
Text
27 lines
No EOL
969 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.formatMonthCaption = void 0;
|
|
exports.formatCaption = formatCaption;
|
|
const DateLib_js_1 = require("../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
|
|
*/
|
|
function formatCaption(month, options, dateLib) {
|
|
return (dateLib ?? new DateLib_js_1.DateLib(options)).format(month, "LLLL y");
|
|
}
|
|
/**
|
|
* @private
|
|
* @deprecated Use {@link formatCaption} instead.
|
|
* @group Formatters
|
|
*/
|
|
exports.formatMonthCaption = formatCaption;
|
|
//# sourceMappingURL=formatCaption.js.map |