diff --git a/Shoko.Server/Providers/AniDB/HTTP/HttpAnimeParser.cs b/Shoko.Server/Providers/AniDB/HTTP/HttpAnimeParser.cs index 5ed3bd3c8..350dfc7da 100644 --- a/Shoko.Server/Providers/AniDB/HTTP/HttpAnimeParser.cs +++ b/Shoko.Server/Providers/AniDB/HTTP/HttpAnimeParser.cs @@ -173,6 +173,8 @@ private static void ParseDates(XmlNode docAnime, ResponseAnime anime) { anime.EndDate = date; } + + if (anime.EndDate != null && anime.AirDate != null && anime.EndDate < anime.AirDate) anime.EndDate = anime.AirDate; } anime.BeginYear = anime.AirDate?.Year ?? 0;