This commit is contained in:
2023-12-07 18:01:53 +08:00
parent f176a961bb
commit f799f72797

View File

@@ -39,6 +39,18 @@ export default {
this.minutes = `${mm}`
this.seconds = `${ss}`
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}`
}
},