sov
This commit is contained in:
@@ -39,6 +39,18 @@ export default {
|
|||||||
this.minutes = `${mm}`
|
this.minutes = `${mm}`
|
||||||
this.seconds = `${ss}`
|
this.seconds = `${ss}`
|
||||||
this.date = `${year}年${month}月${date}日`
|
this.date = `${year}年${month}月${date}日`
|
||||||
|
if (this.$i18n.locale === 'en-us') {
|
||||||
|
let enMonth = ''
|
||||||
|
switch (month) {
|
||||||
|
case 1:
|
||||||
|
enMonth = 'January'
|
||||||
|
break
|
||||||
|
case 12:
|
||||||
|
enMonth = 'Dec.'
|
||||||
|
break
|
||||||
|
}
|
||||||
|
this.date = `${date}th ${enMonth}, ${year}`
|
||||||
|
}
|
||||||
this.week = `${week}`
|
this.week = `${week}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user