aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/git/repo.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-12-10 18:23:34 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-11 10:23:34 +0800
commit58a7de2aeae7ca08fc886d3586ee077094a9bc6c (patch)
tree4955f3d669bc4f6d60a79b1e5e0e70425d7eff3e /vendor/code.gitea.io/git/repo.go
parent682ac11958fed286bb0ca4d488084953f50779ef (diff)
downloadgitea-58a7de2aeae7ca08fc886d3586ee077094a9bc6c.tar.gz
gitea-58a7de2aeae7ca08fc886d3586ee077094a9bc6c.zip
Update code.gitea.io/git (#3137)
Diffstat (limited to 'vendor/code.gitea.io/git/repo.go')
-rw-r--r--vendor/code.gitea.io/git/repo.go2
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)
}