diff options
| -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 |
