mirror of https://github.com/Sonarr/Sonarr
Fixed: Age of releases includes time of day in calculation
This commit is contained in:
parent
f008d85657
commit
86936303dd
|
@ -46,7 +46,7 @@ namespace NzbDrone.Core.Indexers
|
||||||
dateString = RemoveTimeZoneRegex.Replace(dateString, "");
|
dateString = RemoveTimeZoneRegex.Replace(dateString, "");
|
||||||
result = DateTime.Parse(dateString, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AdjustToUniversal);
|
result = DateTime.Parse(dateString, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AdjustToUniversal);
|
||||||
}
|
}
|
||||||
return result.ToUniversalTime().Date;
|
return result.ToUniversalTime();
|
||||||
}
|
}
|
||||||
catch (FormatException e)
|
catch (FormatException e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue