Web Comic Gamma: fix chapter upload date (#12482)
This commit is contained in:
parent
c52e47169b
commit
bbb6efcd77
|
@ -55,7 +55,7 @@ class WebComicGamma : ComicGamma("Web Comic Gamma", "https://webcomicgamma.takes
|
||||||
val list = element.selectFirst(Evaluator.Class("read__contents")).children()
|
val list = element.selectFirst(Evaluator.Class("read__contents")).children()
|
||||||
name = "[$number] ${list[0].text()}"
|
name = "[$number] ${list[0].text()}"
|
||||||
if (list.size >= 3) {
|
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
|
if (date_upload <= 0L) date_upload = -1L // hide unknown ones
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ class ComicGammaGenerator : ThemeSourceGenerator {
|
||||||
className = "WebComicGamma",
|
className = "WebComicGamma",
|
||||||
pkgName = "webcomicgamma",
|
pkgName = "webcomicgamma",
|
||||||
sourceName = "Web Comic Gamma",
|
sourceName = "Web Comic Gamma",
|
||||||
overrideVersionCode = 1,
|
overrideVersionCode = 2,
|
||||||
),
|
),
|
||||||
SingleLang(
|
SingleLang(
|
||||||
name = "Web Comic Gamma Plus",
|
name = "Web Comic Gamma Plus",
|
||||||
|
|
Loading…
Reference in New Issue