Browse Source

Use commit time instead of author time for push commits (#4037)

pull/4070/head
Unknwon 8 years ago
parent
commit
6bfbed0616
No known key found for this signature in database
GPG Key ID: FB9F411CDD69BEC1
  1. 2
      models/update.go

2
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,
}
}

Loading…
Cancel
Save