From bbb6efcd772f84f1a49f26071fe85dda46408de2 Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Sat, 9 Jul 2022 09:47:07 +0800 Subject: [PATCH] Web Comic Gamma: fix chapter upload date (#12482) --- .../overrides/comicgamma/webcomicgamma/src/WebComicGamma.kt | 2 +- .../kanade/tachiyomi/multisrc/comicgamma/ComicGammaGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/comicgamma/webcomicgamma/src/WebComicGamma.kt b/multisrc/overrides/comicgamma/webcomicgamma/src/WebComicGamma.kt index f6335e394..8c3609aaa 100644 --- a/multisrc/overrides/comicgamma/webcomicgamma/src/WebComicGamma.kt +++ b/multisrc/overrides/comicgamma/webcomicgamma/src/WebComicGamma.kt @@ -55,7 +55,7 @@ class WebComicGamma : ComicGamma("Web Comic Gamma", "https://webcomicgamma.takes val list = element.selectFirst(Evaluator.Class("read__contents")).children() name = "[$number] ${list[0].text()}" if (list.size >= 3) { - date_upload = dateFormat.parse(list[2].text())?.time ?: 0L + date_upload = dateFormat.parseJST(list[2].text())?.time ?: 0L } if (date_upload <= 0L) date_upload = -1L // hide unknown ones } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/comicgamma/ComicGammaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/comicgamma/ComicGammaGenerator.kt index cef2f9461..7a91a7212 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/comicgamma/ComicGammaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/comicgamma/ComicGammaGenerator.kt @@ -16,7 +16,7 @@ class ComicGammaGenerator : ThemeSourceGenerator { className = "WebComicGamma", pkgName = "webcomicgamma", sourceName = "Web Comic Gamma", - overrideVersionCode = 1, + overrideVersionCode = 2, ), SingleLang( name = "Web Comic Gamma Plus",