From 2a47132cf90f1d39adb480733ae2d65232562dde Mon Sep 17 00:00:00 2001 From: Solitai7e <60846439+Solitai7e@users.noreply.github.com> Date: Sat, 29 Jul 2023 02:31:34 +0000 Subject: [PATCH] Pixiv: fix chapter dates (#17289) --- src/all/pixiv/build.gradle | 2 +- .../pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/pixiv/build.gradle b/src/all/pixiv/build.gradle index 05943c775..7806001fb 100644 --- a/src/all/pixiv/build.gradle +++ b/src/all/pixiv/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Pixiv' pkgNameSuffix = 'all.pixiv' extClass = '.PixivFactory' - extVersionCode = 5 + extVersionCode = 6 isNsfw = true } diff --git a/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt b/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt index fdd59e029..d2631ed0d 100644 --- a/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt +++ b/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt @@ -348,7 +348,7 @@ class Pixiv(override val lang: String) : HttpSource() { SChapter.create().apply { setUrlWithoutDomain("/artworks/${illust.id!!}") name = illust.title ?: "(null)" - date_upload = illust.upload_timestamp ?: 0 + date_upload = (illust.upload_timestamp ?: 0) * 1000 chapter_number = i.toFloat() } }