mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-19 07:08:41 +01:00
Fix book card started/finished sort option to use formatDatetime
This commit is contained in:
1 parent
d27185e8cb
commit
f6b922fe8d
1 file changed
+2
-2
@@ -355,11 +355,11 @@ export default {
|
||||
}
|
||||
if (this.orderBy === 'startedDate') {
|
||||
if (!this.userProgressStartedDate) return '\u00A0'
|
||||
return this.$getString('LabelFileStartedDate', [this.$formatDate(this.userProgressStartedDate, this.dateFormat, this.timeFormat)])
|
||||
return this.$getString('LabelFileStartedDate', [this.$formatDatetime(this.userProgressStartedDate, this.dateFormat, this.timeFormat)])
|
||||
}
|
||||
if (this.orderBy === 'finishedDate') {
|
||||
if (!this.userProgressFinishedDate) return '\u00A0'
|
||||
return this.$getString('LabelFileFinishedDate', [this.$formatDate(this.userProgressFinishedDate, this.dateFormat, this.timeFormat)])
|
||||
return this.$getString('LabelFileFinishedDate', [this.$formatDatetime(this.userProgressFinishedDate, this.dateFormat, this.timeFormat)])
|
||||
}
|
||||
return null
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user