diff --git a/src/ui/DatePicker.tsx b/src/ui/DatePicker.tsx index f16876758..f081218c1 100644 --- a/src/ui/DatePicker.tsx +++ b/src/ui/DatePicker.tsx @@ -1,6 +1,6 @@ import 'react-datepicker/dist/react-datepicker.css'; -import { de, fr, nl } from 'date-fns/locale'; +import { de, fr, nlBE as nl } from 'date-fns/locale'; import { useRef } from 'react'; import ReactDatePicker, { registerLocale, diff --git a/src/utils/formatPeriod.ts b/src/utils/formatPeriod.ts index fe3e27331..800c9f03c 100644 --- a/src/utils/formatPeriod.ts +++ b/src/utils/formatPeriod.ts @@ -1,5 +1,5 @@ import { differenceInDays, format } from 'date-fns'; -import { fr, nl } from 'date-fns/locale'; +import { fr, nlBE as nl } from 'date-fns/locale'; import capitalize from 'lodash/capitalize'; import type { TFunction } from 'react-i18next';