From 5824ea4c8bcd49b9ae80fe9ba6a15d9eb65d6a80 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 2 Oct 2017 12:10:55 +0200 Subject: [PATCH] Minor fix --- pages/anime/anime.pixy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/anime/anime.pixy b/pages/anime/anime.pixy index 8adf86b2..4b06618d 100644 --- a/pages/anime/anime.pixy +++ b/pages/anime/anime.pixy @@ -210,7 +210,7 @@ component Anime(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]* RawIcon("eye") //- a(href="https://translate.google.com/#ja/en/" + episode.Title.Japanese, target="_blank", rel="noopener") //- RawIcon("google") - if episode.AiringDate.IsValid() + if validator.IsValidDate(episode.AiringDate.Start) td.episode-airing-date-start.utc-airing-date(data-start-date=episode.AiringDate.Start, data-end-date=episode.AiringDate.End, data-episode-number=episode.Number)= episode.AiringDate.StartDateHuman() else td.episode-airing-date-start