UNPKG

472 BJavaScriptView Raw
1import { dateLib as defaultDateLib } from "../lib/index.js";
2/**
3 * Format the weekday name to be displayed in the weekdays header.
4 *
5 * @defaultValue `cccccc` (e.g. "Mo" for Monday)
6 * @group Formatters
7 * @see https://daypicker.dev/docs/translation#custom-formatters
8 */
9export function formatWeekdayName(weekday, options,
10/** @ignore */
11dateLib = defaultDateLib) {
12 return dateLib.format(weekday, "cccccc", options);
13}
14//# sourceMappingURL=formatWeekdayName.js.map
\No newline at end of file