From 4267c9063b9b936cef0f0580b4b4d1f0448ed0d5 Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Thu, 4 May 2023 11:53:50 +0100 Subject: [PATCH] CAL-1556: Alignment of current day dot in datepicker. (#8663) --- packages/features/calendars/DatePicker.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/features/calendars/DatePicker.tsx b/packages/features/calendars/DatePicker.tsx index 5ef4b0d7d5..53a31852c7 100644 --- a/packages/features/calendars/DatePicker.tsx +++ b/packages/features/calendars/DatePicker.tsx @@ -44,6 +44,7 @@ export const Day = ({ active: boolean; date: Dayjs; }) => { + const { t } = useLocale(); const enabledDateButtonEmbedStyles = useEmbedStyles("enabledDateButton"); const disabledDateButtonEmbedStyles = useEmbedStyles("disabledDateButton"); return ( @@ -64,7 +65,9 @@ export const Day = ({ {...props}> {date.date()} {date.isToday() && ( - . + + {t("today")} + )} );