From 48853e17db23f19e8fdf646322fd6ba9676da8f6 Mon Sep 17 00:00:00 2001 From: Basara-Hatake <53382992+Basara-Hatake@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:37:18 +0100 Subject: [PATCH] toonily fix date parsing (#10890) --- multisrc/overrides/madara/toonily/src/Toonily.kt | 4 +++- .../eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/madara/toonily/src/Toonily.kt b/multisrc/overrides/madara/toonily/src/Toonily.kt index 0f95b7dfb..0e0a3d420 100644 --- a/multisrc/overrides/madara/toonily/src/Toonily.kt +++ b/multisrc/overrides/madara/toonily/src/Toonily.kt @@ -1,7 +1,9 @@ package eu.kanade.tachiyomi.extension.en.toonily import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.text.SimpleDateFormat +import java.util.Locale -class Toonily : Madara("Toonily", "https://toonily.com", "en") { +class Toonily : Madara("Toonily", "https://toonily.com", "en", SimpleDateFormat("MMM d, yy", Locale.US)) { override val useNewChapterEndpoint: Boolean = true } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index ff1616752..569e76dda 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -420,7 +420,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true), SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true), - SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 5), + SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 6), SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2), SingleLang("Top Manhua", "https://topmanhua.com", "en", overrideVersionCode = 1), SingleLang("TreeManga", "https://treemanga.com", "en", overrideVersionCode = 1),