mirror of https://github.com/gogs/gogs.git
Use commit time instead of author time for push commits (#4037)
parent
185c90df12
commit
6bfbed0616
|
@ -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…
Reference in New Issue