parent
d4b7e3db1f
commit
0f96d5785e
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Mangareader'
|
appName = 'Tachiyomi: Mangareader'
|
||||||
pkgNameSuffix = 'en.mangareader'
|
pkgNameSuffix = 'en.mangareader'
|
||||||
extClass = '.Mangareader'
|
extClass = '.Mangareader'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ import org.jsoup.nodes.Element
|
||||||
import eu.kanade.tachiyomi.util.asJsoup
|
import eu.kanade.tachiyomi.util.asJsoup
|
||||||
import okhttp3.Response
|
import okhttp3.Response
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.*
|
||||||
|
|
||||||
|
|
||||||
class Mangareader : ParsedHttpSource() {
|
class Mangareader : ParsedHttpSource() {
|
||||||
|
@ -113,7 +114,7 @@ class Mangareader : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun parseDate(date: String): Long {
|
private fun parseDate(date: String): Long {
|
||||||
return SimpleDateFormat("MM/dd/yyyy").parse(date).time
|
return SimpleDateFormat("MM/dd/yyyy", Locale.US).parse(date).time
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Mangatown'
|
appName = 'Tachiyomi: Mangatown'
|
||||||
pkgNameSuffix = 'en.mangatown'
|
pkgNameSuffix = 'en.mangatown'
|
||||||
extClass = '.Mangatown'
|
extClass = '.Mangatown'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ class Mangatown : ParsedHttpSource() {
|
||||||
"Today" -> return Calendar.getInstance().apply{}.timeInMillis
|
"Today" -> return Calendar.getInstance().apply{}.timeInMillis
|
||||||
"Yesterday" -> return Calendar.getInstance().apply{add(Calendar.DAY_OF_MONTH, -1)}.timeInMillis
|
"Yesterday" -> return Calendar.getInstance().apply{add(Calendar.DAY_OF_MONTH, -1)}.timeInMillis
|
||||||
else -> {
|
else -> {
|
||||||
return SimpleDateFormat("MMM d, yyyy").parse(date).time
|
return SimpleDateFormat("MMM d, yyyy", Locale.US).parse(date).time
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: PsychoPlay'
|
appName = 'Tachiyomi: PsychoPlay'
|
||||||
pkgNameSuffix = 'en.psychoplay'
|
pkgNameSuffix = 'en.psychoplay'
|
||||||
extClass = '.PsychoPlay'
|
extClass = '.PsychoPlay'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ class PsychoPlay : ParsedHttpSource() {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val dateFormat by lazy {
|
val dateFormat by lazy {
|
||||||
SimpleDateFormat("MMM d, yyyy")
|
SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue