Permalink
Browse files

Use UTC time zone when logging repository events.

  • Loading branch information...
dmitshur committed Nov 29, 2017
1 parent f34a210 commit 1bd7a2ac4004454e040a048f2fe9226ccc76b1c7
Showing with 1 addition and 1 deletion.
  1. +1 −1 repositories.go
View
@@ -295,7 +295,7 @@ func (h *gitHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
// Log events.
now := time.Now()
now := time.Now().UTC()
for _, e := range rpc.Events {
evt := event.Event{
Time: now,

0 comments on commit 1bd7a2a

Please sign in to comment.