aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Media
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-24 08:00:05 -0700
committerFuwn <[email protected]>2024-05-24 08:00:05 -0700
commit27a3dbf419d7de7040c05277575c640b77547721 (patch)
tree428082b381a98fca35dc53d0b1a0af47c1a407b8 /src/lib/Media
parentfix(match): delayed and subtitled time compatibility (diff)
downloaddue.moe-27a3dbf419d7de7040c05277575c640b77547721.tar.xz
due.moe-27a3dbf419d7de7040c05277575c640b77547721.zip
fix(match): simple native time comparison
Diffstat (limited to 'src/lib/Media')
-rw-r--r--src/lib/Media/Anime/Airing/Subtitled/match.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Media/Anime/Airing/Subtitled/match.ts b/src/lib/Media/Anime/Airing/Subtitled/match.ts
index b5cdc7d7..f16918e2 100644
--- a/src/lib/Media/Anime/Airing/Subtitled/match.ts
+++ b/src/lib/Media/Anime/Airing/Subtitled/match.ts
@@ -181,7 +181,7 @@ export const injectAiringTime = (anime: Media, subsPlease: SubsPlease | null) =>
}
}
- if (now >= nativeTime && now < time) {
+ if (nativeTime > time) {
nextEpisode -= 1;
}