diff options
| author | Fuwn <[email protected]> | 2023-12-22 04:15:58 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-22 04:15:58 -0800 |
| commit | 9de27d429ab299dc7839d2c4dd42e4108ff03313 (patch) | |
| tree | 6b3c0edf98659db9b12c1a319a099d4798eabeca /src/lib | |
| parent | feat(wrapped): refresh full year button (diff) | |
| download | due.moe-9de27d429ab299dc7839d2c4dd42e4108ff03313.tar.xz due.moe-9de27d429ab299dc7839d2c4dd42e4108ff03313.zip | |
fix(airing): subtitled match offset
Diffstat (limited to 'src/lib')
| -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 a0ac9573..a33e4848 100644 --- a/src/lib/Media/Anime/Airing/Subtitled/match.ts +++ b/src/lib/Media/Anime/Airing/Subtitled/match.ts @@ -15,7 +15,7 @@ export const airedUnsubtitled = (anime: Media) => anime.nextAiringEpisode?.nativeAiringAt && new Date(anime.nextAiringEpisode.airingAt * 1000).getTime() > Date.now() && new Date(anime.nextAiringEpisode.nativeAiringAt * 1000).getTime() - Date.now() > - 6 * 24 * 60 * 60 * 1000; + 7 * 24 * 60 * 60 * 1000; const secondsUntil = (targetTime: string, targetDay: string) => { const now = new Date(); |