From 5acabcf513899348e877237ba2a82266cd211108 Mon Sep 17 00:00:00 2001 From: lamvh Date: Thu, 26 Sep 2024 12:26:08 +0700 Subject: [PATCH] fix(mobile) localized support language vi en only --- apps/mobile/locales/provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/locales/provider.tsx b/apps/mobile/locales/provider.tsx index 66eff0e..94fe189 100644 --- a/apps/mobile/locales/provider.tsx +++ b/apps/mobile/locales/provider.tsx @@ -19,7 +19,7 @@ const defaultLanguage = ['en', 'vi'].includes(deviceLanguage) ? deviceLanguage : 'en' -dayjsExtended.locale(deviceLanguage) +dayjsExtended.locale(defaultLanguage) const messages = { en: enMessages,