Files
ServiceManager/frontend/node_modules/react-day-picker/src/contexts/DayPicker/labels/labelDay.ts
2026-01-01 17:40:53 +01:00

11 lines
263 B
TypeScript

import { format } from 'date-fns';
import { DayLabel } from 'types/Labels';
/**
* The default ARIA label for the day button.
*/
export const labelDay: DayLabel = (day, activeModifiers, options): string => {
return format(day, 'do MMMM (EEEE)', options);
};