Forgot to change time format in Index handler as well.
This commit is contained in:
parent
c4532fea24
commit
db8e8c3ebf
@ -73,7 +73,7 @@ func (h *RadioHandlers) Index(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 {
|
||||
|
Loading…
Reference in New Issue
Block a user