ReaperScans: Fix date format (#4780)

This commit is contained in:
Wackery 2024-08-26 22:41:37 -07:00 committed by Draff
parent b00c569c12
commit 3fe52c264d
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import okhttp3.Request
import okhttp3.Response import okhttp3.Response
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
import java.util.TimeZone
class ReaperScans : HeanCms("Reaper Scans", "https://reaperscans.com", "en") { class ReaperScans : HeanCms("Reaper Scans", "https://reaperscans.com", "en") {
@ -22,7 +23,7 @@ class ReaperScans : HeanCms("Reaper Scans", "https://reaperscans.com", "en") {
override val useNewChapterEndpoint = true override val useNewChapterEndpoint = true
override val useNewQueryEndpoint = true override val useNewQueryEndpoint = true
override val enableLogin = true override val enableLogin = true
override val dateFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US) override val dateFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US).apply { this.timeZone = TimeZone.getTimeZone("UTC") }
override val cdnUrl = "https://media.reaperscans.com/file/4SRBHm" override val cdnUrl = "https://media.reaperscans.com/file/4SRBHm"
override fun latestUpdatesRequest(page: Int): Request { override fun latestUpdatesRequest(page: Int): Request {