mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -155,8 +155,8 @@ func ToCommit(repo *models.Repository, commit *git.Commit, userCache map[string]
 | 
			
		||||
			URL: repo.APIURL() + "/git/commits/" + commit.ID.String(),
 | 
			
		||||
			Author: &api.CommitUser{
 | 
			
		||||
				Identity: api.Identity{
 | 
			
		||||
					Name:  commit.Committer.Name,
 | 
			
		||||
					Email: commit.Committer.Email,
 | 
			
		||||
					Name:  commit.Author.Name,
 | 
			
		||||
					Email: commit.Author.Email,
 | 
			
		||||
				},
 | 
			
		||||
				Date: commit.Author.When.Format(time.RFC3339),
 | 
			
		||||
			},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user