@utrecht/calendar-react 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css.mjs +1 -1
- package/dist/css.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/index.test.tsx +19 -2
- package/src/index.tsx +1 -1
package/dist/css.mjs
CHANGED
|
@@ -3955,7 +3955,7 @@ const Calendar = ({ onCalendarClick, events, currentDate, locale = enUS, previou
|
|
|
3955
3955
|
setVisibleMonth(day.date);
|
|
3956
3956
|
setSelectedDate(day.date);
|
|
3957
3957
|
onCalendarClick(formatISO(day.date));
|
|
3958
|
-
}, "aria-label": format(day.date, 'eeee dd LLLL
|
|
3958
|
+
}, "aria-label": format(day.date, 'eeee dd LLLL y', { locale }), day: day.date.getDate().toString(), emphasis: day.emphasis, selected: day.selected || (selectedDate && isSameDay(day.date, selectedDate)), disabled: day.disabled ||
|
|
3959
3959
|
(minDate && isBefore(day.date, startOfDay(minDate))) ||
|
|
3960
3960
|
(maxDate && isAfter(day.date, endOfDay(maxDate))) }, index));
|
|
3961
3961
|
}) }, index))) })] })] }));
|