From 58a7de2aeae7ca08fc886d3586ee077094a9bc6c Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sun, 10 Dec 2017 18:23:34 -0800 Subject: Update code.gitea.io/git (#3137) --- vendor/code.gitea.io/git/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/code.gitea.io/git/repo.go') 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) } -- cgit v1.2.3