show date episode was added

This commit is contained in:
2026-02-17 20:02:14 +03:00
parent a7f02c8dd7
commit 3494ad6515
2 changed files with 13 additions and 1 deletions

View File

@@ -376,6 +376,11 @@ func main() {
return
}
loc, _ := time.LoadLocation("Europe/Moscow")
for _, episode := range episodes {
episode.CreatedAt = episode.CreatedAt.In(loc)
}
tmpl.ExecuteTemplate(w, "podcast.html", struct {
Podcast *Podcast
Episodes []*Episode