diff --git a/pages/anime/episodes.pixy b/pages/anime/episodes.pixy index 295d13fd..26c8a338 100644 --- a/pages/anime/episodes.pixy +++ b/pages/anime/episodes.pixy @@ -21,7 +21,7 @@ component AnimeEpisodes(anime *arn.Anime, episodes []*arn.AnimeEpisode, user *ar else span - - if validate.Date(episode.AiringDate.Start) + if validate.DateTime(episode.AiringDate.Start) .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() //- table.episodes @@ -43,7 +43,7 @@ component AnimeEpisodes(anime *arn.Anime, episodes []*arn.AnimeEpisode, user *ar //- RawIcon("eye") //- //- a(href="https://translate.google.com/#ja/en/" + episode.Title.Japanese, target="_blank", rel="noopener") //- //- RawIcon("google") - //- if validate.Date(episode.AiringDate.Start) + //- if validate.DateTime(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 \ No newline at end of file diff --git a/pages/episode/episode.pixy b/pages/episode/episode.pixy index 09c4e60c..bc277b89 100644 --- a/pages/episode/episode.pixy +++ b/pages/episode/episode.pixy @@ -11,7 +11,7 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us .episode-view-title Japanese(episode.Title.Japanese) - if validate.Date(episode.AiringDate.Start) + if validate.DateTime(episode.AiringDate.Start) p.episode-view-airing-date span.utc-airing-date(data-start-date=episode.AiringDate.Start, data-end-date=episode.AiringDate.End, data-episode-number=episode.Number)= episode.AiringDate.StartDateHuman()