labelWeekday.ts 253 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 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); };