Fixed: Publish dates timezone in history details for grabbed releases

This commit is contained in:
Bogdan
2025-03-25 12:50:17 +02:00
parent f4f1b38324
commit 5cbacc01eb

View File

@@ -224,7 +224,7 @@ namespace NzbDrone.Core.History
if (message.Release.PublishDate != DateTime.MinValue)
{
history.Data.Add("PublishedDate", message.Release.PublishDate.ToString("s") + "Z");
history.Data.Add("PublishedDate", message.Release.PublishDate.ToUniversalTime().ToString("s") + "Z");
}
_historyRepository.Insert(history);