From 9488467c754230288934dde4a49b9046e658986c Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 2 Aug 2018 16:48:07 +0200 Subject: termui: show the last edit in a dedicated column --- bug/snapshot.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bug') diff --git a/bug/snapshot.go b/bug/snapshot.go index 9001d2c7..7f1d6099 100644 --- a/bug/snapshot.go +++ b/bug/snapshot.go @@ -2,7 +2,6 @@ package bug import ( "fmt" - "github.com/dustin/go-humanize" "time" ) @@ -31,10 +30,9 @@ func (snap Snapshot) HumanId() string { } func (snap Snapshot) Summary() string { - return fmt.Sprintf("C:%d L:%d %s", + return fmt.Sprintf("C:%d L:%d", len(snap.Comments)-1, len(snap.Labels), - humanize.Time(snap.LastEdit()), ) } -- cgit