From 4f3993515a2f2a33587d2c9e8604760fdfee914e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 1 Apr 2022 20:43:10 +0400 Subject: [PATCH] Changed displayed on-air since date to RFC1123. --- internal/handlers/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 57a9b23..7a84a31 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -105,7 +105,7 @@ func (h *RadioHandlers) Stats(w http.ResponseWriter, r *http.Request) { } if tim, err := time.Parse(time.RFC1123Z, status.ServerStartDate); err == nil { - status.ServerStartDate = utils.ToClientTimezone(tim, r).Format(time.RFC1123Z) + status.ServerStartDate = utils.ToClientTimezone(tim, r).Format(time.RFC1123) } if tim, err := time.Parse(FormatISO8601, status.ServerStartISO8601); err == nil {