mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Use UTC for filtering out AB releases
This commit is contained in:
@@ -93,7 +93,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
|
|
||||||
if (searchCriteria.IsRssSearch)
|
if (searchCriteria.IsRssSearch)
|
||||||
{
|
{
|
||||||
cleanReleases = cleanReleases.Where((r, index) => r.PublishDate > DateTime.Now.AddDays(-1) || index < 20).ToList();
|
cleanReleases = cleanReleases.Where((r, index) => r.PublishDate > DateTime.UtcNow.AddDays(-1) || index < 20).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
return cleanReleases.Select(r => (ReleaseInfo)r.Clone()).ToList();
|
return cleanReleases.Select(r => (ReleaseInfo)r.Clone()).ToList();
|
||||||
|
Reference in New Issue
Block a user