From a4c3011ee8326c3140abbe6de872f7438c58fd1e Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Thu, 9 Feb 2023 08:50:44 +0100 Subject: [PATCH] Update Jellyfin.Data/DayOfWeekHelper.cs --- Jellyfin.Data/DayOfWeekHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Data/DayOfWeekHelper.cs b/Jellyfin.Data/DayOfWeekHelper.cs index d1ce8185f..82abfb831 100644 --- a/Jellyfin.Data/DayOfWeekHelper.cs +++ b/Jellyfin.Data/DayOfWeekHelper.cs @@ -23,7 +23,7 @@ namespace Jellyfin.Data return dynamicDayOfWeek switch { DynamicDayOfWeek.Everyday => true, - DynamicDayOfWeek.Weekday => dayOfWeek is > DayOfWeek.Sunday and <= DayOfWeek.Friday, + DynamicDayOfWeek.Weekday => dayOfWeek is >= DayOfWeek.Monday and <= DayOfWeek.Friday, DynamicDayOfWeek.Weekend => dayOfWeek is DayOfWeek.Saturday or DayOfWeek.Sunday, _ => (DayOfWeek)dynamicDayOfWeek == dayOfWeek };