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:
parent
1318f424db
commit
c620d965fe
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue