diff --git a/src/locales/en.js b/src/locales/en.js index f1159596..de80c559 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -9,19 +9,25 @@ export default { }, 'format': { 'date': { - 'long': 'MM/DD/YYYY', - 'short': 'M/D/YYYY', - 'year': 'YYYY', - 'yearMonth': 'YYYY-M', - 'monthDay': 'M/D', - 'shortMonthDay': 'M/D' + 'long': 'M/D/YYYY', + 'short': 'M/D/YYYY' }, 'datetime': { - 'long': 'MM/DD/YYYY HH:mm:ss', - 'long-without-second': 'MM/DD/YYYY HH:mm', + 'long': 'M/D/YYYY HH:mm:ss', + 'long-without-second': 'M/D/YYYY HH:mm', }, - 'time': { - 'hourMinute': 'HH:mm' + 'year': { + 'long': 'YYYY' + }, + 'yearMonth': { + 'long': 'YYYY-M' + }, + 'monthDay': { + 'long': 'M/D', + 'short': 'M/D' + }, + 'hourMinute': { + 'long': 'HH:mm' }, 'currency': { 'symbol': '{symbol} {amount}' diff --git a/src/locales/zh_Hans.js b/src/locales/zh_Hans.js index 949fc917..b6d61f1a 100644 --- a/src/locales/zh_Hans.js +++ b/src/locales/zh_Hans.js @@ -9,19 +9,25 @@ export default { }, 'format': { 'date': { - 'long': 'YYYY年MM月DD日', - 'short': 'YYYY-M-D', - 'year': 'YYYY年', - 'yearMonth': 'YYYY年M月', - 'monthDay': 'M月D日', - 'shortMonthDay': 'M-D' + 'long': 'YYYY年M月D日', + 'short': 'YYYY-M-D' }, 'datetime': { - 'long': 'YYYY年MM月DD日 HH:mm:ss', - 'long-without-second': 'YYYY年MM月DD日 HH:mm', + 'long': 'YYYY年M月D日 HH:mm:ss', + 'long-without-second': 'YYYY年M月D日 HH:mm', }, - 'time': { - 'hourMinute': 'HH:mm' + 'year': { + 'long': 'YYYY年' + }, + 'yearMonth': { + 'long': 'YYYY年M月' + }, + 'monthDay': { + 'long': 'M月D日', + 'short': 'M-D' + }, + 'hourMinute': { + 'long': 'HH:mm' }, 'currency': { 'symbol': '{symbol} {amount}' diff --git a/src/views/mobile/Home.vue b/src/views/mobile/Home.vue index bb07dc30..35603f91 100644 --- a/src/views/mobile/Home.vue +++ b/src/views/mobile/Home.vue @@ -72,10 +72,10 @@