Fixed: Age of releases includes time of day in calculation

pull/6/head
Mark McDowall 10 years ago
parent f008d85657
commit 86936303dd

@ -46,7 +46,7 @@ namespace NzbDrone.Core.Indexers
dateString = RemoveTimeZoneRegex.Replace(dateString, "");
result = DateTime.Parse(dateString, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AdjustToUniversal);
}
return result.ToUniversalTime().Date;
return result.ToUniversalTime();
}
catch (FormatException e)
{

Loading…
Cancel
Save