Fix book card started/finished sort option to use formatDatetime

This commit is contained in:
advplyr 2025-08-24 15:58:56 -05:00
parent d27185e8cb
commit f6b922fe8d

View File

@ -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
},