diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-02 16:48:07 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-02 16:48:07 +0200 |
commit | 9488467c754230288934dde4a49b9046e658986c (patch) | |
tree | 89a3b0c85ec4171f3b2c388d3786a3e92e92c938 /bug/snapshot.go | |
parent | ae1ed6c11f3ae5675c80f377dd7f3996b3d621d0 (diff) | |
download | git-bug-9488467c754230288934dde4a49b9046e658986c.tar.gz |
termui: show the last edit in a dedicated column
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r-- | bug/snapshot.go | 4 |
1 files changed, 1 insertions, 3 deletions
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()), ) } |