|
|
|
@ -61,7 +61,7 @@ namespace NzbDrone.Core.Parser.Model
|
|
|
|
|
|
|
|
|
|
public int Age
|
|
|
|
|
{
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate).Days; }
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate.ToUniversalTime()).Days; }
|
|
|
|
|
|
|
|
|
|
//This prevents manually downloading a release from blowing up in mono
|
|
|
|
|
//TODO: Is there a better way?
|
|
|
|
@ -70,7 +70,7 @@ namespace NzbDrone.Core.Parser.Model
|
|
|
|
|
|
|
|
|
|
public double AgeHours
|
|
|
|
|
{
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate).TotalHours; }
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate.ToUniversalTime()).TotalHours; }
|
|
|
|
|
|
|
|
|
|
//This prevents manually downloading a release from blowing up in mono
|
|
|
|
|
//TODO: Is there a better way?
|
|
|
|
@ -79,7 +79,7 @@ namespace NzbDrone.Core.Parser.Model
|
|
|
|
|
|
|
|
|
|
public double AgeMinutes
|
|
|
|
|
{
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate).TotalMinutes; }
|
|
|
|
|
get { return DateTime.UtcNow.Subtract(PublishDate.ToUniversalTime()).TotalMinutes; }
|
|
|
|
|
|
|
|
|
|
//This prevents manually downloading a release from blowing up in mono
|
|
|
|
|
//TODO: Is there a better way?
|
|
|
|
|