diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 14:09:51 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 14:09:51 -0500 |
| commit | 43599276915dbcef6f941aa31cfea9cc2c2512aa (patch) | |
| tree | 662fc605098f46c9081c03e93172b819dfee7afb /tableStats.go | |
| parent | 2351f3d6a825ea82864172e5f5185bcb6b74422c (diff) | |
show times
Diffstat (limited to 'tableStats.go')
| -rw-r--r-- | tableStats.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
