Use readableAt

(cherry picked from commit d37463cf0f091ade15fa80c7b75fe378a45eee61)
This commit is contained in:
Jobobby04 2023-10-01 16:48:58 -04:00
parent 3aefee3ce0
commit 4cab34e06c
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ data class ChapterAttributesDto(
val createdAt: String, val createdAt: String,
val updatedAt: String, val updatedAt: String,
val publishAt: String, val publishAt: String,
val readableAt: String,
) )
@Serializable @Serializable

View File

@ -245,7 +245,7 @@ class ApiMangaParser(
val name = chapterName.toString() val name = chapterName.toString()
// Convert from unix time // Convert from unix time
val dateUpload = MdUtil.parseDate(attributes.publishAt) val dateUpload = MdUtil.parseDate(attributes.readableAt)
val scanlatorName = networkChapter.relationships val scanlatorName = networkChapter.relationships
.filter { .filter {