From 0b01f9d282345d0d23e46171cc0dc3c57d36495b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 28 Oct 2013 08:26:00 -0400 Subject: [PATCH] adjust unaired cutoff --- MediaBrowser.Controller/Entities/TV/Episode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Entities/TV/Episode.cs b/MediaBrowser.Controller/Entities/TV/Episode.cs index 0cee747b8..96b120b8f 100644 --- a/MediaBrowser.Controller/Entities/TV/Episode.cs +++ b/MediaBrowser.Controller/Entities/TV/Episode.cs @@ -203,7 +203,7 @@ namespace MediaBrowser.Controller.Entities.TV public bool IsUnaired { - get { return PremiereDate.HasValue && PremiereDate.Value >= DateTime.UtcNow.Date; } + get { return PremiereDate.HasValue && PremiereDate.Value.ToLocalTime().Date >= DateTime.Now.Date; } } public bool IsVirtualUnaired