support changing date in statistics page

This commit is contained in:
MaysWind
2021-01-27 00:40:28 +08:00
parent 97a63f884e
commit 1f6fae471c
4 changed files with 145 additions and 20 deletions
+3 -1
View File
@@ -10,9 +10,11 @@ export default {
'format': {
'date': {
'long': 'MM/DD/YYYY',
'short': 'M/D/YYYY',
'year': 'YYYY',
'yearMonth': 'YYYY-M',
'monthDay': 'M/D'
'monthDay': 'M/D',
'shortMonthDay': 'M/D'
},
'datetime': {
'long': 'MM/DD/YYYY HH:mm:ss',
+3 -1
View File
@@ -10,9 +10,11 @@ export default {
'format': {
'date': {
'long': 'YYYY年MM月DD日',
'short': 'YYYY-M-D',
'year': 'YYYY年',
'yearMonth': 'YYYY年M月',
'monthDay': 'M月D日'
'monthDay': 'M月D日',
'shortMonthDay': 'M-D'
},
'datetime': {
'long': 'YYYY年MM月DD日 HH:mm:ss',