diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index cd0969d49..47d1f288c 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: MangaDex' pkgNameSuffix = "all.mangadex" extClass = '.MangadexFactory' - extVersionCode = 16 - extVersionSuffix = 16 + extVersionCode = 17 + extVersionSuffix = 17 libVersion = '1.2' } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt index 6d9deeb97..c153e9806 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt @@ -232,7 +232,7 @@ open class Mangadex(override val lang: String, private val internalLang: String, //skip chapters that dont match the desired language, or are future releases chapterJson?.forEach { key, jsonElement -> val chapterElement = jsonElement.asJsonObject - if (chapterElement.get("lang_code").string == internalLang && chapterElement.get("timestamp").asLong <= now) { + if (chapterElement.get("lang_code").string == internalLang && (chapterElement.get("timestamp").asLong * 1000) <= now) { chapterElement.toString() chapters.add(chapterFromJson(key, chapterElement)) }