Update code.gitea.io/git (#3137)
This commit is contained in:
parent
682ac11958
commit
58a7de2aea
31 changed files with 3274 additions and 405 deletions
2
vendor/code.gitea.io/git/repo.go
generated
vendored
2
vendor/code.gitea.io/git/repo.go
generated
vendored
|
@ -283,5 +283,5 @@ func GetLatestCommitTime(repoPath string) (time.Time, error) {
|
|||
return time.Time{}, err
|
||||
}
|
||||
commitTime := strings.TrimSpace(stdout)
|
||||
return time.Parse("Mon Jan 02 15:04:05 2006 -0700", commitTime)
|
||||
return time.Parse(GitTimeLayout, commitTime)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue