Files
volleyball-dev-frontend/node_modules/react-day-picker/src/contexts/DayPicker/labels/labelWeekday.ts
2025-06-02 16:42:16 +00:00

11 lines
253 B
TypeScript

import { format } from 'date-fns';
import { WeekdayLabel } from 'types/Labels';
/**
* The default ARIA label for the Weekday element.
*/
export const labelWeekday: WeekdayLabel = (day, options): string => {
return format(day, 'cccc', options);
};