Make anime with only start month available visible in list filtered by seasons

This commit is contained in:
Soulcramer
2019-09-05 14:05:20 +02:00
parent bee93732d6
commit 32649a8314
2 changed files with 14 additions and 1 deletions

View File

@ -289,7 +289,7 @@ func (anime *Anime) AverageColor() string {
// Season returns the season the anime started airing in.
func (anime *Anime) Season() string {
if !validate.Date(anime.StartDate) {
if !validate.Date(anime.StartDate) && !validate.YearMonth(anime.StartDate) {
return ""
}