From 3fe52c264df4530dbc1d6393c7aafb286ff45a90 Mon Sep 17 00:00:00 2001 From: Wackery <32279125+webmsgr@users.noreply.github.com> Date: Mon, 26 Aug 2024 22:41:37 -0700 Subject: [PATCH] ReaperScans: Fix date format (#4780) --- .../kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt b/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt index f00c6fa71..ea09bf402 100644 --- a/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt +++ b/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt @@ -10,6 +10,7 @@ import okhttp3.Request import okhttp3.Response import java.text.SimpleDateFormat import java.util.Locale +import java.util.TimeZone 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 useNewQueryEndpoint = 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 fun latestUpdatesRequest(page: Int): Request {