Fixed an issue where docker installs were trying to update wwwroot, when docker doesn't do reverse proxy stuff. (#1880)

Fixed a bug in reading list date calculations.
This commit is contained in:
Joe Milazzo 2023-03-14 13:31:00 -05:00 committed by GitHub
parent 71cb26752d
commit 0617d71d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 134 additions and 4 deletions

View file

@ -299,7 +299,7 @@ public class ReadingListService : IReadingListService
return;
}
var maxReleaseDate = items.Max(item => item.Chapter.ReleaseDate);
var minReleaseDate = items.Max(item => item.Chapter.ReleaseDate);
var minReleaseDate = items.Min(item => item.Chapter.ReleaseDate);
if (maxReleaseDate != DateTime.MinValue)
{
readingListWithItems.EndingMonth = maxReleaseDate.Month;