Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1064)

Unified Diff: milo/appengine/buildbot/build.go

Issue 2929173002: Milo: Use UTC representation for commit time in blamelist (Closed)
Patch Set: Also builder Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | milo/appengine/buildbot/build_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbot/build.go
diff --git a/milo/appengine/buildbot/build.go b/milo/appengine/buildbot/build.go
index 9551965fe3623936ff8c170d43f89c013fd962d6..9218ba1b20219d5a676d6a676c70d24b02cb311a 100644
--- a/milo/appengine/buildbot/build.go
+++ b/milo/appengine/buildbot/build.go
@@ -393,7 +393,7 @@ func blame(b *buildbotBuild) (result []*resp.Commit) {
result = append(result, &resp.Commit{
AuthorEmail: c.Who,
Repo: c.Repository,
- CommitTime: time.Unix(int64(c.When), 0),
+ CommitTime: time.Unix(int64(c.When), 0).UTC(),
Revision: &resp.Link{
URL: c.Revlink,
Label: c.Revision,
« no previous file with comments | « no previous file | milo/appengine/buildbot/build_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698