From 9b3b4eb55ba9b4713c8e0df5f8c0aee2b9a64f8e Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Mon, 16 Jan 2017 13:25:59 -0500 Subject: [PATCH] Removed duplicate PublishDate --- .../Indexers/TorrentPotato/TorrentPotatoParser.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/TorrentPotato/TorrentPotatoParser.cs b/src/NzbDrone.Core/Indexers/TorrentPotato/TorrentPotatoParser.cs index fdaf7bb9d..2cb91c733 100644 --- a/src/NzbDrone.Core/Indexers/TorrentPotato/TorrentPotatoParser.cs +++ b/src/NzbDrone.Core/Indexers/TorrentPotato/TorrentPotatoParser.cs @@ -36,12 +36,11 @@ namespace NzbDrone.Core.Indexers.TorrentPotato torrentInfo.Size = (long)torrent.size*1000*1000; torrentInfo.DownloadUrl = torrent.download_url; torrentInfo.InfoUrl = torrent.details_url; - torrentInfo.PublishDate = new System.DateTime(); + torrentInfo.PublishDate = torrent.publishdate.ToUniversalTime(); torrentInfo.Seeders = torrent.seeders; torrentInfo.Peers = torrent.leechers + torrent.seeders; torrentInfo.Freeleech = torrent.freeleech; - torrentInfo.PublishDate = torrent.publishdate.ToUniversalTime(); - + results.Add(torrentInfo); }