aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Media/Anime
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Media/Anime')
-rw-r--r--src/lib/Media/Anime/airing.ts11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/Media/Anime/airing.ts b/src/lib/Media/Anime/airing.ts
index c7d4a4ea..b6369fdc 100644
--- a/src/lib/Media/Anime/airing.ts
+++ b/src/lib/Media/Anime/airing.ts
@@ -61,17 +61,16 @@ const findClosestMatch = (times: Time[], titles: string[]) => {
export const injectAiringTime = (anime: Media, subsPlease: SubsPlease | null) => {
const airingAt = anime.nextAiringEpisode?.airingAt;
- const nativeUntilAiring = airingAt
- ? Math.round((airingAt - Date.now() / 1000) * 100) / 100
- : undefined;
+ // const nativeUntilAiring = airingAt
+ // ? Math.round((airingAt - Date.now() / 1000) * 100) / 100
+ // : undefined;
let untilAiring;
let time = new Date(airingAt ? airingAt * 1000 : 0);
if (
!(
- get(settings).displayNativeCountdown ||
- !subsPlease ||
- !(nativeUntilAiring !== undefined && nativeUntilAiring < 24 * 60 * 60)
+ (get(settings).displayNativeCountdown || !subsPlease)
+ // || !(nativeUntilAiring !== undefined && nativeUntilAiring < 24 * 60 * 60)
)
) {
const times: Time[] = [];