Fix NaN bug + Move searching tag

This commit is contained in:
2020-12-06 12:39:27 +01:00
parent f5c0f5d9d4
commit 4f7044dc7a
2 changed files with 27 additions and 27 deletions

View File

@@ -42,7 +42,7 @@ export default {
methods: {
formatDate(date) {
const dateFormat = new Date(date)
return this.$t('month_' + dateFormat.getMonth()) + " " + dateFormat.getFullYear()
return date === 'Today' ? 'Today' : this.$t('month_' + dateFormat.getMonth()) + " " + dateFormat.getFullYear()
}
}
}