From dcb0639232e30e6d0fd5f01c772454f8466f2c5a Mon Sep 17 00:00:00 2001 From: zaphod534 <32894570+zaphod534@users.noreply.github.com> Date: Wed, 4 Nov 2020 13:28:41 +0100 Subject: [PATCH] [FIX] Missing locales in moment helper (#2562) --- app/utils/moment.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/utils/moment.js b/app/utils/moment.js index ce0562bb..711c890e 100644 --- a/app/utils/moment.js +++ b/app/utils/moment.js @@ -5,7 +5,12 @@ const localeKeys = { 'zh-CN': 'zh-cn', fr: 'fr', de: 'de', - 'pt-PT': 'pt' + 'pt-PT': 'pt', + it: 'it', + ja: 'ja', + nl: 'nl', + 'es-ES': 'es-es', + 'zh-TW': 'zh-tw' }; export const toMomentLocale = locale => localeKeys[locale];