Skip to content
Snippets Groups Projects
Commit 352b6fb2 authored by Marvin M's avatar Marvin M
Browse files

make sure timestamp is in UTC format, else web app with throw an error

parent 54f01ffe
No related branches found
No related tags found
1 merge request!4make sure timestamp is in UTC, else web app will throw an error
......@@ -569,7 +569,7 @@ func (s *server) handleApps(w http.ResponseWriter, r *http.Request) {
}
resp := res{
DT: time.Now(),
DT: time.Now().UTC(),
}
for _, a := range apps {
if a.appInfo == nil {
......@@ -637,7 +637,7 @@ func (s *server) handleAppShame(w http.ResponseWriter, r *http.Request) {
}
resp := res{
DT: time.Now(),
DT: time.Now().UTC(),
}
for _, shame := range appShame {
// Guarenteed to be exactly 2 parts because of the regex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment