From 182ad17b777fba11df0750620da2ce165688ed84 Mon Sep 17 00:00:00 2001
From: Taloth Saldono <Taloth@users.noreply.github.com>
Date: Thu, 24 Dec 2020 12:40:19 +0100
Subject: [PATCH] Fixed: Series year wrong when airing January 1st.

closes #4191
---
 src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs
index db5b96264..baaecfbbb 100644
--- a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs
+++ b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs
@@ -154,7 +154,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
 
             if (show.FirstAired != null)
             {
-                series.FirstAired = DateTime.ParseExact(show.FirstAired, "yyyy-MM-dd", DateTimeFormatInfo.InvariantInfo).ToUniversalTime();
+                series.FirstAired = DateTime.ParseExact(show.FirstAired, "yyyy-MM-dd", DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal);
                 series.Year = series.FirstAired.Value.Year;
             }