optimize date range display name

This commit is contained in:
MaysWind
2021-01-31 21:13:57 +08:00
parent 61267af634
commit 23186473cd
4 changed files with 52 additions and 5 deletions
+4 -2
View File
@@ -18,10 +18,12 @@ export default {
'long-without-second': 'M/D/YYYY HH:mm',
},
'year': {
'long': 'YYYY'
'long': 'YYYY',
'short': 'YYYY'
},
'yearMonth': {
'long': 'YYYY-M'
'long': 'YYYY-M',
'short': 'YYYY-M'
},
'monthDay': {
'long': 'M/D',
+4 -2
View File
@@ -18,10 +18,12 @@ export default {
'long-without-second': 'YYYY年M月D日 HH:mm',
},
'year': {
'long': 'YYYY年'
'long': 'YYYY年',
'short': 'YYYY'
},
'yearMonth': {
'long': 'YYYY年M月'
'long': 'YYYY年M月',
'short': 'YYYY-M'
},
'monthDay': {
'long': 'M月D日',