1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-26 09:48:37 +00:00

YIFI: cleanup

This commit is contained in:
kaso17 2018-05-14 02:12:09 +02:00
parent 086d8b32e9
commit 842d9e79ce

View file

@ -140,7 +140,6 @@ namespace Jackett.Common.Indexers
release.MagnetUri = new Uri(magnet_uri);
release.InfoHash = torrent_info.Value<string>("hash");
// ex: 2015-08-16 21:25:08 +0000
var dateStr = torrent_info.Value<long>("date_uploaded_unix");
var dateTime = DateTimeUtil.UnixTimestampToDateTime(dateStr);
release.PublishDate = DateTime.SpecifyKind(dateTime, DateTimeKind.Utc).ToLocalTime();