Fixed: (TorrentLeech) Calculating Incorrect Age

Closes #720
pull/754/head
bakerboy448 3 years ago committed by Qstick
parent 0dbd23c52b
commit 2bae37d0c5

@ -281,7 +281,7 @@ namespace NzbDrone.Core.Indexers.Definitions
var torrentId = row.fid.ToString();
var details = new Uri(_settings.BaseUrl + "torrent/" + torrentId);
var link = new Uri(_settings.BaseUrl + "download/" + torrentId + "/" + row.filename);
var publishDate = DateTime.ParseExact(row.addedTimestamp.ToString(), "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture);
var publishDate = DateTime.ParseExact(row.addedTimestamp.ToString(), "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal);
var seeders = (int)row.seeders;
var leechers = (int)row.leechers;
var grabs = (int)row.completed;

Loading…
Cancel
Save