diff options
Diffstat (limited to 'doTag.go')
| -rw-r--r-- | doTag.go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -84,6 +84,7 @@ func makeTagTablePB(pb *gitpb.GitTags) *gitpb.GitTagsTable { return ref }) col.Width = 16 + // col.Width = -1 cola := t.AddTimeFunc("age", func(repo *gitpb.GitTag) time.Time { // todo @@ -91,7 +92,11 @@ func makeTagTablePB(pb *gitpb.GitTags) *gitpb.GitTagsTable { }) cola.Width = 6 - col = t.AddSubject() - col.Width = -1 + cola = t.AddTimeFunc("ctime", func(tag *gitpb.GitTag) time.Time { + // todo + return tag.Creatordate.AsTime() + }) + cola.Width = 16 + return t } |
