summaryrefslogtreecommitdiff
path: root/doTag.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-15 03:51:22 -0500
committerJeff Carr <[email protected]>2025-09-15 03:51:22 -0500
commit7fdd7075fdf2c69c8d830aca08cdb23f60ad520c (patch)
tree37fac4bd2db7c47d4281ad81602090341290290b /doTag.go
parent179c19147e2ce90dcb94e4fb636a8a5767a37e2c (diff)
testing showing tag age
Diffstat (limited to 'doTag.go')
-rw-r--r--doTag.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/doTag.go b/doTag.go
index 965c80d..cf76169 100644
--- a/doTag.go
+++ b/doTag.go
@@ -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
}