diff options
| author | Fuwn <[email protected]> | 2024-06-02 01:33:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-02 01:33:20 -0700 |
| commit | dc56226096d73464f4a677c33cab8c65aeed89a0 (patch) | |
| tree | ffcf178accf1f1f3c2a785462c1ec587f80baebc /src/lib/Media/Anime | |
| parent | fix(match): only decrement episode on no delay (diff) | |
| download | due.moe-dc56226096d73464f4a677c33cab8c65aeed89a0.tar.xz due.moe-dc56226096d73464f4a677c33cab8c65aeed89a0.zip | |
fix(match): no decrement check for days
Diffstat (limited to 'src/lib/Media/Anime')
| -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 d0d11479..09daba4f 100644 --- a/src/lib/Media/Anime/Airing/Subtitled/match.ts +++ b/src/lib/Media/Anime/Airing/Subtitled/match.ts @@ -183,7 +183,7 @@ export const injectAiringTime = (anime: Media, subsPlease: SubsPlease | null) => const SEVEN_DAYS = 7 * 24 * 60 * 60 * 1000; - if (nativeTime > time && nativeTime.getTime() <= SEVEN_DAYS) { + if (nativeTime > time) { nextEpisode -= 1; } |