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

date picker comment

This commit is contained in:
Elliott Stoneham 2016-06-02 15:52:35 +01:00
parent 1318f424db
commit c620d965fe

View file

@ -246,7 +246,7 @@ func (*GithubT) getCommits(client *gogithub.Client, config githubConfig) ([]gith
var since time.Time
err := since.UnmarshalText([]byte(config.BranchSince))
err := since.UnmarshalText([]byte(config.BranchSince)) // TODO date Picker format
if err == nil {
opts.Since = since
}
@ -266,6 +266,7 @@ func (*GithubT) getCommits(client *gogithub.Client, config githubConfig) ([]gith
ret := []githubBranchCommits{}
for k, v := range guff {
if guff[k].Commit != nil {
if guff[k].Commit.Committer.Date != nil {
y, m, d := (*guff[k].Commit.Committer.Date).Date()