Fixed: (Avistaz Family) Correct Age Parsing

Co-authored-by: Qstick <qstick@gmail.com>
This commit is contained in:
Bakerboy448
2022-12-11 14:03:49 -06:00
committed by Qstick
parent 0d918a0aa9
commit 4e3f460a24
5 changed files with 5 additions and 5 deletions
@@ -14,7 +14,7 @@ namespace NzbDrone.Core.Indexers.Definitions.Avistaz
public AvistazIdInfo MovieTvinfo { get; set; }
[JsonProperty(PropertyName = "created_at")]
public DateTime CreatedAt { get; set; }
public string CreatedAt { get; set; }
[JsonProperty(PropertyName = "file_name")]
public string FileName { get; set; }
@@ -61,7 +61,7 @@ namespace NzbDrone.Core.Indexers.Definitions.Avistaz
InfoUrl = details,
Guid = details,
Categories = cats,
PublishDate = row.CreatedAt,
PublishDate = DateTime.Parse(row.CreatedAt + "-05:00").ToUniversalTime(), // Avistaz does not specify a timezone & returns server time
Size = row.FileSize,
Files = row.FileCount,
Grabs = row.Completed,