mirror of
https://github.com/gogs/gogs.git
synced 2026-03-04 03:01:01 +01:00
Use commit time instead of author time for push commits (#4037)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user