toonily fix date parsing (#10890)

This commit is contained in:
Basara-Hatake 2022-02-22 13:37:18 +01:00 committed by GitHub
parent 66922b7e9d
commit 48853e17db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

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

View File

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