1
0

Changed displayed on-air since date to RFC1123.

This commit is contained in:
Alexander Andreev 2022-04-01 20:43:10 +04:00
parent 066208def4
commit 4f3993515a
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -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 { 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 { if tim, err := time.Parse(FormatISO8601, status.ServerStartISO8601); err == nil {