torrentscsv: bunt datestamp from int to long. resolves #6550

This commit is contained in:
Garfield69 2019-12-09 20:47:01 +13:00
parent 6b66a19631
commit 0ddefb0328
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ namespace Jackett.Common.Indexers {
release.InfoHash = torrent.Value<JToken> ("infohash").ToString ();
// convert unix timestamp to human readable date
double createdunix = torrent.Value<int> ("created_unix");
double createdunix = torrent.Value<long> ("created_unix");
System.DateTime dateTime = new System.DateTime (1970, 1, 1, 0, 0, 0, 0);
dateTime = dateTime.AddSeconds (createdunix);
release.PublishDate = dateTime;