mirror of
https://github.com/gotson/komga.git
synced 2025-12-15 21:12:27 +01:00
fix(api): book fileLastModified was in local time instead of UTC
Closes: #1430
This commit is contained in:
parent
5a21c5ccfd
commit
16485334e1
1 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ import org.gotson.komga.jooq.main.tables.records.BookMetadataRecord
|
|||
import org.gotson.komga.jooq.main.tables.records.BookRecord
|
||||
import org.gotson.komga.jooq.main.tables.records.MediaRecord
|
||||
import org.gotson.komga.jooq.main.tables.records.ReadProgressRecord
|
||||
import org.gotson.komga.language.toUTC
|
||||
import org.jooq.AggregateFunction
|
||||
import org.jooq.Condition
|
||||
import org.jooq.DSLContext
|
||||
|
|
@ -486,7 +487,7 @@ class BookDtoDao(
|
|||
number = number,
|
||||
created = createdDate,
|
||||
lastModified = lastModifiedDate,
|
||||
fileLastModified = fileLastModified,
|
||||
fileLastModified = fileLastModified.toUTC(),
|
||||
sizeBytes = fileSize,
|
||||
media = media,
|
||||
metadata = metadata,
|
||||
|
|
|
|||
Loading…
Reference in a new issue