diff --git a/client/src/components/Utils/FormatDate.js b/client/src/components/Utils/FormatDate.js index 9c875af96..0dd88bb73 100644 --- a/client/src/components/Utils/FormatDate.js +++ b/client/src/components/Utils/FormatDate.js @@ -6,7 +6,7 @@ import intl from 'react-intl-universal'; * Format the given date. */ export function FormatDate({ value, format = 'YYYY MMM DD' }) { - const localizedFormat = intl.get(`date_format.${format}`); + const localizedFormat = intl.get(`date_formats.${format}`); return moment().format(localizedFormat); }