From 6bfbed06161aae4ef59b4eff989c99906b7836ab Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 30 Jan 2017 13:38:16 -0500 Subject: [PATCH] Use commit time instead of author time for push commits (#4037) --- models/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/update.go b/models/update.go index 466a6b24..5a17822a 100644 --- a/models/update.go +++ b/models/update.go @@ -56,7 +56,7 @@ func CommitToPushCommit(commit *git.Commit) *PushCommit { AuthorName: commit.Author.Name, CommitterEmail: commit.Committer.Email, CommitterName: commit.Committer.Name, - Timestamp: commit.Author.When, + Timestamp: commit.Committer.When, } }