Update Vietnamese datefns locale code

This commit is contained in:
advplyr 2024-03-09 20:09:08 -06:00
parent e0dddae2c2
commit 450fa45360

View File

@ -22,7 +22,7 @@ const languageCodeMap = {
'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' }, 'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' },
'ru': { label: 'Русский', dateFnsLocale: 'ru' }, 'ru': { label: 'Русский', dateFnsLocale: 'ru' },
'sv': { label: 'Svenska', dateFnsLocale: 'sv' }, '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' }, 'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
} }
Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => { Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {