Fixed: Dates before 1970 causing an exception.

Fixes #1913
This commit is contained in:
Leonardo Galli
2018-03-04 15:42:15 +01:00
parent 61ee8edb5a
commit 57adf0e3a5
2 changed files with 12 additions and 0 deletions
@@ -38,5 +38,7 @@ namespace NzbDrone.Common.Extensions
{
return dateTime >= afterDateTime && dateTime <= beforeDateTime;
}
public static DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
}
}