1 | import { 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 | */
|
9 | export function formatWeekdayName(weekday, options,
|
10 | /** @ignore */
|
11 | dateLib = defaultDateLib) {
|
12 | return dateLib.format(weekday, "cccccc", options);
|
13 | }
|
14 | //# sourceMappingURL=formatWeekdayName.js.map |
\ | No newline at end of file |