satellite/console: convert dates to UTC in advanced usage reports

Change-Id: I5c72c869533a7613bffdb8077fdedff2a4e203d0
This commit is contained in:
Yaroslav 2020-01-02 14:52:33 +02:00
parent 38eff60698
commit 0cc7056a9a

View File

@ -306,8 +306,8 @@ func (server *Server) bucketUsageReportHandler(w http.ResponseWriter, r *http.Re
return
}
since := time.Unix(sinceStamp, 0)
before := time.Unix(beforeStamp, 0)
since := time.Unix(sinceStamp, 0).UTC()
before := time.Unix(beforeStamp, 0).UTC()
server.log.Debug("querying bucket usage report",
zap.Stringer("projectID", projectID),