mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
YIFI: cleanup
This commit is contained in:
parent
086d8b32e9
commit
842d9e79ce
1 changed files with 0 additions and 1 deletions
|
@ -140,7 +140,6 @@ namespace Jackett.Common.Indexers
|
||||||
release.MagnetUri = new Uri(magnet_uri);
|
release.MagnetUri = new Uri(magnet_uri);
|
||||||
release.InfoHash = torrent_info.Value<string>("hash");
|
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 dateStr = torrent_info.Value<long>("date_uploaded_unix");
|
||||||
var dateTime = DateTimeUtil.UnixTimestampToDateTime(dateStr);
|
var dateTime = DateTimeUtil.UnixTimestampToDateTime(dateStr);
|
||||||
release.PublishDate = DateTime.SpecifyKind(dateTime, DateTimeKind.Utc).ToLocalTime();
|
release.PublishDate = DateTime.SpecifyKind(dateTime, DateTimeKind.Utc).ToLocalTime();
|
||||||
|
|
Loading…
Reference in a new issue