mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-02 02:53:25 +02:00
Use UTC for filtering out AB releases
This commit is contained in:
parent
123535b9a5
commit
753b53a529
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ protected override IList<ReleaseInfo> CleanupReleases(IEnumerable<ReleaseInfo> r
|
|||
|
||||
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue