From 43599276915dbcef6f941aa31cfea9cc2c2512aa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 16 Oct 2025 14:09:51 -0500 Subject: show times --- tableStats.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tableStats.go b/tableStats.go index c30056f..ba45e31 100644 --- a/tableStats.go +++ b/tableStats.go @@ -4,6 +4,7 @@ package gitpb import ( "go.wit.com/log" + "go.wit.com/lib/cobol" ) func (pb *Stats) PrintTable() string { @@ -27,6 +28,10 @@ func (pb *Stats) MakeTable(name string) *StatsTable { }) col.Width = 9 + col = t.AddStringFunc("age", func(r *Stat) string { + return cobol.Time(r.Ctime) + }) + col.Width = 28 col = t.AddSubject() col.Width = -1 -- cgit v1.2.3