From 450fa45360f21e586968886ee7b6996caf8e7eef Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 9 Mar 2024 20:09:08 -0600 Subject: [PATCH] Update Vietnamese datefns locale code --- client/plugins/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/plugins/i18n.js b/client/plugins/i18n.js index 4a88d6f6..504db248 100644 --- a/client/plugins/i18n.js +++ b/client/plugins/i18n.js @@ -22,7 +22,7 @@ const languageCodeMap = { 'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' }, 'ru': { label: 'Русский', dateFnsLocale: 'ru' }, 'sv': { label: 'Svenska', dateFnsLocale: 'sv' }, - 'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'viVN' }, + 'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' }, 'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' }, } Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {