diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 60b72e2..485df61 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -118,8 +118,11 @@ func (h *RadioHandlers) LastSong(w http.ResponseWriter, r *http.Request) { } for _, song := range songs { - if tim, err := time.Parse("15:04-0700", song.Time); err == nil { + tim, err := time.Parse("15:04-0700", song.Time) + if err == nil { song.Time = utils.ToClientTimezone(tim, r).Format("15:04") + } else { + h.logErr.Println("song time parse error:", err) } }