better date format for reddem valid date

This commit is contained in:
ogerly 2022-04-10 12:51:05 +02:00
parent a5e10c2ed9
commit 94382d9834

View File

@ -30,9 +30,7 @@ export default {
},
computed: {
dateString() {
return this.diffNow
? this.$moment(this.date).locale(this.$i18n.locale).fromNow()
: this.$d(new Date(this.date), 'long')
return this.$d(new Date(this.date), 'long')
},
},
}