From f135a3087fc580f545dbd1c80dec38250eecd254 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 24 Dec 2023 00:17:46 -0800 Subject: fix(subtiteld): lessen subtitled match --- 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 a33e4848..a0ac9573 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() > - 7 * 24 * 60 * 60 * 1000; + 6 * 24 * 60 * 60 * 1000; const secondsUntil = (targetTime: string, targetDay: string) => { const now = new Date(); -- cgit v1.2.3