Use readableAt
This commit is contained in:
parent
b3ab8895e3
commit
d37463cf0f
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue