mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Fixed: Delays use minutes not hours
This commit is contained in:
@@ -40,6 +40,18 @@ namespace NzbDrone.Core.Parser.Model
|
||||
private set { }
|
||||
}
|
||||
|
||||
public Double AgeMinutes
|
||||
{
|
||||
get
|
||||
{
|
||||
return DateTime.UtcNow.Subtract(PublishDate).TotalMinutes;
|
||||
}
|
||||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set { }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Format("[{0}] {1} [{2}]", PublishDate, Title, Size);
|
||||
|
||||
Reference in New Issue
Block a user