Fixed: RSS sync paging back too far for some indexers

(cherry picked from commit 7fcee7173450fc24f7733ea907b0886c1aa7d735)
pull/1064/head
ta264 4 years ago
parent eb9b9d57ed
commit 648a41ed7b

@ -8,7 +8,7 @@ namespace NzbDrone.Common.Serializer
{ {
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 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) public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)

Loading…
Cancel
Save