1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-07 14:35:28 +02:00

Merge branch 'master' into github-config

This commit is contained in:
Elliott Stoneham 2016-06-02 09:00:51 +01:00
commit eb53321e7d

View file

@ -264,7 +264,8 @@ func (*GithubT) getCommits(client *gogithub.Client, config githubConfig) ([]gith
var a, d, l, m, u string
if v.Commit != nil {
if v.Commit.Committer.Date != nil {
d = fmt.Sprintf("%v", *v.Commit.Committer.Date)
// d = fmt.Sprintf("%v", *v.Commit.Committer.Date)
d = v.Commit.Committer.Date.Format("January 2 2006, 15:04")
}
if v.Commit.Message != nil {
m = *v.Commit.Message