mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 14:12:37 +02:00
Update code.gitea.io/git (#3137)
This commit is contained in:
1 parent
682ac11958
commit
58a7de2aea
31 files changed
+3274
-405
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user