mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix linting
This commit is contained in:
parent
c07c0692d5
commit
2b1ba71a43
@ -19,9 +19,13 @@ export default {
|
||||
computed: {
|
||||
dateTimeString() {
|
||||
if (dateTimeConstants.RELATIVE_DATETIME) {
|
||||
return formatRelative(new Date(this.dateTime), new Date(), { locale: getDateFnsLocale(this) })
|
||||
return formatRelative(new Date(this.dateTime), new Date(), {
|
||||
locale: getDateFnsLocale(this),
|
||||
})
|
||||
} else {
|
||||
return format(new Date(this.dateTime), dateTimeConstants.ABSOLUT_DATETIME_FORMAT, { locale: getDateFnsLocale(this) })
|
||||
return format(new Date(this.dateTime), dateTimeConstants.ABSOLUT_DATETIME_FORMAT, {
|
||||
locale: getDateFnsLocale(this),
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user