aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-02 16:48:07 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-02 16:48:07 +0200
commit9488467c754230288934dde4a49b9046e658986c (patch)
tree89a3b0c85ec4171f3b2c388d3786a3e92e92c938 /bug
parentae1ed6c11f3ae5675c80f377dd7f3996b3d621d0 (diff)
downloadgit-bug-9488467c754230288934dde4a49b9046e658986c.tar.gz
termui: show the last edit in a dedicated column
Diffstat (limited to 'bug')
-rw-r--r--bug/snapshot.go4
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()),
)
}