From ad0f3197579e5dde8f4736443ee53823f3c73575 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 6 Feb 2024 06:19:04 -0800
Subject: fix(schedule): use adjusted episode day

---
 src/lib/Schedule/Days.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/Schedule/Days.svelte')

diff --git a/src/lib/Schedule/Days.svelte b/src/lib/Schedule/Days.svelte
index 553a753e..4a7af63d 100644
--- a/src/lib/Schedule/Days.svelte
+++ b/src/lib/Schedule/Days.svelte
@@ -59,7 +59,7 @@
 			new Date((media.nextAiringEpisode?.airingAt || 0) * 1000) > new Date() &&
 			weekday === new Date().toLocaleString('en-us', { weekday: 'long' })
 		) {
-			return (media.nextAiringEpisode?.episode || 1) - 1;
+			return media.nextAiringEpisode?.episode || 1;
 		} else {
 			return media.nextAiringEpisode?.episode || 0;
 		}
-- 
cgit v1.2.3

