Web Comic Gamma: fix chapter upload date (#12482)

This commit is contained in:
stevenyomi 2022-07-09 09:47:07 +08:00 committed by GitHub
parent c52e47169b
commit bbb6efcd77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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",