diff --git a/README.md b/README.md index ae49055d2..284f32621 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Download in the [Releases page](https://github.com/zone117x/Jackett/releases) * [TorrentLeech](http://www.torrentleech.org/) * [TorrentShack](http://torrentshack.me/) * [Torrentz](https://torrentz.eu/) - + * [TV Chaos UK](https://tvchaosuk.com/) #### Installation on Linux/OSX 1. Install [Mono 4](http://www.mono-project.com/download/) or better diff --git a/src/Jackett/Indexers/SceneTime.cs b/src/Jackett/Indexers/SceneTime.cs index bb3a67115..a94b0cef3 100644 --- a/src/Jackett/Indexers/SceneTime.cs +++ b/src/Jackett/Indexers/SceneTime.cs @@ -95,11 +95,7 @@ namespace Jackett.Indexers var torrentId = qLink.Attr("href").Split('=')[1]; release.Link = new Uri(string.Format(DownloadUrl, torrentId)); - var dateStr = descCol.ChildNodes.Last().NodeValue.Trim(); - var euDate = DateTime.ParseExact(dateStr, "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture); - var timezoneString = Environment.OSVersion.Platform == PlatformID.Unix ? "Europe/Berlin" : "Central European Standard Time"; - var localDate = TimeZoneInfo.ConvertTimeToUtc(euDate, TimeZoneInfo.FindSystemTimeZoneById(timezoneString)).ToLocalTime(); - release.PublishDate = localDate; + release.PublishDate = DateTimeUtil.FromTimeAgo(descCol.ChildNodes.Last().InnerText); var sizeStr = row.ChildElements.ElementAt(5).Cq().Text(); release.Size = ReleaseInfo.GetBytes(sizeStr);