From fa923e658fb65661a08364e78956b9b31d2b9ab0 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 17 Dec 2022 23:14:56 -0600 Subject: [PATCH] Fixed: (Nyaa) Torrent Age in UI incorrect Fixes #144 --- src/NzbDrone.Core/Parser/DateTimeUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Parser/DateTimeUtil.cs b/src/NzbDrone.Core/Parser/DateTimeUtil.cs index 3e05f60a7..1c1278645 100644 --- a/src/NzbDrone.Core/Parser/DateTimeUtil.cs +++ b/src/NzbDrone.Core/Parser/DateTimeUtil.cs @@ -109,7 +109,7 @@ namespace NzbDrone.Core.Parser if (DateTimeRoutines.TryParseDateOrTime( str, dtFormat, out DateTimeRoutines.ParsedDateTime dt)) { - return dt.DateTime; + return dt.DateTime.ToUniversalTime(); } throw new InvalidDateException($"FromFuzzyTime parsing failed for string {str}");