diff options
| author | Fuwn <[email protected]> | 2023-12-24 00:17:46 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-24 00:17:46 -0800 |
| commit | f135a3087fc580f545dbd1c80dec38250eecd254 (patch) | |
| tree | b0047efac01eddbb0d530af256b7737effa2b6ec /src/lib | |
| parent | feat(wrapped): genre and tag count options (diff) | |
| download | due.moe-f135a3087fc580f545dbd1c80dec38250eecd254.tar.xz due.moe-f135a3087fc580f545dbd1c80dec38250eecd254.zip | |
fix(subtiteld): lessen subtitled match
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 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(); |