From d6a699a14d9ac501b86dc48301980c8b39983507 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 21 Aug 2019 19:03:59 -0400 Subject: [PATCH] update moment locale as lowercase (#3155) --- app/i18n/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/i18n/index.js b/app/i18n/index.js index 5271638ed..4a2404c3f 100644 --- a/app/i18n/index.js +++ b/app/i18n/index.js @@ -101,7 +101,7 @@ function loadTranslation(locale) { } if (momentData) { - moment.updateLocale(locale, momentData); + moment.updateLocale(locale.toLowerCase(), momentData); } } catch (e) { console.error('NO Translation found', e); //eslint-disable-line no-console