diff options
author | Unknwon <u@gogs.io> | 2017-01-30 13:38:16 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-01-30 13:38:16 -0500 |
commit | 6bfbed06161aae4ef59b4eff989c99906b7836ab (patch) | |
tree | b23c0f738253fb59ec0632f140497ce03cdcb3f2 /models/update.go | |
parent | 185c90df1259ce1bbfd10c0d053a938020b9ff90 (diff) |
Use commit time instead of author time for push commits (#4037)
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, } } |