Fix date format for Harimanga and DuniaKomik.id (#17166)

* Changes made to constructor calls of Harimanga.kt and DuniaKomikId.kt

* Removed unused import in Harimanga.kt

* Revert "Changes made to constructor calls of Harimanga.kt and DuniaKomikId.kt"

This reverts commit dc18ae3bc0c4246c9112d699e38b86352e9d521c.

* Changes made to constructor calls after revert

* Changes made to constructor calls after revert

* Added missing imports to DuniaKomikId.kt
This commit is contained in:
MuhamedZ1 2023-07-23 01:29:45 +05:30 committed by GitHub
parent 630c947027
commit bad7674de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,5 @@
package eu.kanade.tachiyomi.extension.en.harimanga package eu.kanade.tachiyomi.extension.en.harimanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class Harimanga : Madara("Harimanga", "https://harimanga.com", "en", SimpleDateFormat("MM/dd/yyyy", Locale.US)) class Harimanga : Madara("Harimanga", "https://harimanga.com", "en")

View File

@ -1,8 +1,10 @@
package eu.kanade.tachiyomi.extension.id.duniakomikid package eu.kanade.tachiyomi.extension.id.duniakomikid
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import java.text.SimpleDateFormat
import java.util.Locale
class DuniaKomikId : MangaThemesia("DuniaKomik.id", "https://duniakomik.id", "id") { class DuniaKomikId : MangaThemesia("DuniaKomik.id", "https://duniakomik.id", "id", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id", "ID"))) {
override val hasProjectPage = true override val hasProjectPage = true
} }

View File

@ -122,7 +122,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hreads", "https://hreads.net", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Hreads", "https://hreads.net", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hades no Fansub Hentai", "https://h.mangareaderpro.com", "es", isNsfw = true), SingleLang("Hades no Fansub Hentai", "https://h.mangareaderpro.com", "es", isNsfw = true),
SingleLang("Hades no Fansub", "https://mangareaderpro.com", "es", overrideVersionCode = 1), SingleLang("Hades no Fansub", "https://mangareaderpro.com", "es", overrideVersionCode = 1),
SingleLang("Harimanga", "https://harimanga.com", "en", overrideVersionCode = 2), SingleLang("Harimanga", "https://harimanga.com", "en", overrideVersionCode = 3),
SingleLang("Hatachi Manga", "https://hachiraw.com", "ja", isNsfw = true, overrideVersionCode = 2), SingleLang("Hatachi Manga", "https://hachiraw.com", "ja", isNsfw = true, overrideVersionCode = 2),
SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true), SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true),
SingleLang("Hayalistic", "https://hayalistic.com", "tr"), SingleLang("Hayalistic", "https://hayalistic.com", "tr"),

View File

@ -31,7 +31,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("CosmicScans.id", "https://cosmicscans.id", "id", overrideVersionCode = 1, className = "CosmicScansID"), SingleLang("CosmicScans.id", "https://cosmicscans.id", "id", overrideVersionCode = 1, className = "CosmicScansID"),
SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 7), SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 7),
SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"), SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"),
SingleLang("DuniaKomik.id", "https://duniakomik.id", "id", className = "DuniaKomikId"), SingleLang("DuniaKomik.id", "https://duniakomik.id", "id", className = "DuniaKomikId", overrideVersionCode = 1),
SingleLang("ElarcPage", "https://elarcpage.com", "en"), SingleLang("ElarcPage", "https://elarcpage.com", "en"),
SingleLang("Epsilon Scan", "https://epsilonscan.fr", "fr", isNsfw = true), SingleLang("Epsilon Scan", "https://epsilonscan.fr", "fr", isNsfw = true),
SingleLang("Franxx Mangás", "https://franxxmangas.net", "pt-BR", className = "FranxxMangas", isNsfw = true), SingleLang("Franxx Mangás", "https://franxxmangas.net", "pt-BR", className = "FranxxMangas", isNsfw = true),