Przeglądaj źródła

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

Unknwon 8 lat temu
rodzic
commit
6bfbed0616
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      models/update.go

+ 1 - 1
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,
 	}
 }