diff options
| author | Fuwn <[email protected]> | 2024-05-24 08:00:05 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-24 08:00:05 -0700 |
| commit | 27a3dbf419d7de7040c05277575c640b77547721 (patch) | |
| tree | 428082b381a98fca35dc53d0b1a0af47c1a407b8 /src/lib/Media | |
| parent | fix(match): delayed and subtitled time compatibility (diff) | |
| download | due.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.ts | 2 |
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; } |