Changed displayed on-air since date to RFC1123.
This commit is contained in:
parent
066208def4
commit
4f3993515a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user