diff options
Diffstat (limited to 'vendor/code.gitea.io/git/repo.go')
-rw-r--r-- | vendor/code.gitea.io/git/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/code.gitea.io/git/repo.go b/vendor/code.gitea.io/git/repo.go index f87c73d35e..4306730920 100644 --- a/vendor/code.gitea.io/git/repo.go +++ b/vendor/code.gitea.io/git/repo.go @@ -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) } |