mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-24 00:40:32 +01:00
Fix NaN bug + Move searching tag
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user