Fixed episode airing dates
This commit is contained in:
parent
1dfdaf073c
commit
4b4a3d6d71
@ -21,7 +21,7 @@ component AnimeEpisodes(anime *arn.Anime, episodes []*arn.AnimeEpisode, user *ar
|
|||||||
else
|
else
|
||||||
span -
|
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()
|
.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
|
//- table.episodes
|
||||||
@ -43,7 +43,7 @@ component AnimeEpisodes(anime *arn.Anime, episodes []*arn.AnimeEpisode, user *ar
|
|||||||
//- RawIcon("eye")
|
//- RawIcon("eye")
|
||||||
//- //- a(href="https://translate.google.com/#ja/en/" + episode.Title.Japanese, target="_blank", rel="noopener")
|
//- //- a(href="https://translate.google.com/#ja/en/" + episode.Title.Japanese, target="_blank", rel="noopener")
|
||||||
//- //- RawIcon("google")
|
//- //- 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()
|
//- 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
|
//- else
|
||||||
//- td.episode-airing-date-start
|
//- td.episode-airing-date-start
|
@ -11,7 +11,7 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us
|
|||||||
.episode-view-title
|
.episode-view-title
|
||||||
Japanese(episode.Title.Japanese)
|
Japanese(episode.Title.Japanese)
|
||||||
|
|
||||||
if validate.Date(episode.AiringDate.Start)
|
if validate.DateTime(episode.AiringDate.Start)
|
||||||
p.episode-view-airing-date
|
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()
|
span.utc-airing-date(data-start-date=episode.AiringDate.Start, data-end-date=episode.AiringDate.End, data-episode-number=episode.Number)= episode.AiringDate.StartDateHuman()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user