diff --git a/src/all/myreadingmanga/build.gradle b/src/all/myreadingmanga/build.gradle index f2113a819..868919eaa 100644 --- a/src/all/myreadingmanga/build.gradle +++ b/src/all/myreadingmanga/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: MyReadingManga' pkgNameSuffix = 'all.myreadingmanga' extClass = '.MyReadingMangaFactory' - extVersionCode = 23 + extVersionCode = 24 libVersion = '1.2' } diff --git a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt index 449b0f4c3..1a34d3fa1 100644 --- a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt +++ b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt @@ -10,6 +10,7 @@ import org.jsoup.nodes.Document import org.jsoup.nodes.Element import java.net.URLEncoder import java.text.SimpleDateFormat +import java.util.Locale import java.util.concurrent.TimeUnit open class MyReadingManga(override val lang: String) : ParsedHttpSource() { @@ -151,7 +152,7 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() { } private fun parseDate(date: String): Long { - return SimpleDateFormat("MMM dd, yyyy").parse(date).time + return SimpleDateFormat("MMM dd, yyyy", Locale.US ).parse(date).time } private fun createChapter(pageNumber: String, mangaUrl: String, date: Long, chname: String): SChapter {