From 648a41ed7b232bcc824f4bebef8735d1940933b6 Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 10 Jun 2021 21:58:37 +0100 Subject: [PATCH] Fixed: RSS sync paging back too far for some indexers (cherry picked from commit 7fcee7173450fc24f7733ea907b0886c1aa7d735) --- .../Serializer/System.Text.Json/STJUtcConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Serializer/System.Text.Json/STJUtcConverter.cs b/src/NzbDrone.Common/Serializer/System.Text.Json/STJUtcConverter.cs index 520b24d6c..0c34fecef 100644 --- a/src/NzbDrone.Common/Serializer/System.Text.Json/STJUtcConverter.cs +++ b/src/NzbDrone.Common/Serializer/System.Text.Json/STJUtcConverter.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Common.Serializer { public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - return DateTime.Parse(reader.GetString()); + return DateTime.Parse(reader.GetString()).ToUniversalTime(); } public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)