From 9de27d429ab299dc7839d2c4dd42e4108ff03313 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 22 Dec 2023 04:15:58 -0800 Subject: fix(airing): subtitled match offset --- src/lib/Media/Anime/Airing/Subtitled/match.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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(); -- cgit v1.2.3