From 973cb09af6be9f4e79ca981e8bb6fff51eaf0686 Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Wed, 15 Sep 2021 11:43:49 +0200 Subject: [PATCH] fix: hotbug date formats localization. --- client/src/components/Utils/FormatDate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }