summaryrefslogtreecommitdiff
path: root/tagWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'tagWindow.go')
-rw-r--r--tagWindow.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tagWindow.go b/tagWindow.go
index 07effd3..fed6f1a 100644
--- a/tagWindow.go
+++ b/tagWindow.go
@@ -9,6 +9,7 @@ import (
"time"
"go.wit.com/gui"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -97,7 +98,7 @@ func (rs *RepoStatus) makeTagBox(box *gui.Node) error {
rTag.ref = grid.NewEntrybox(tag.GetHash())
ctime := tag.GetAuthordate().AsTime()
- dur := getDurationStamp(ctime)
+ dur := shell.GetDurationStamp(ctime)
rTag.date = grid.NewLabel(ctime.Format("YYYY/MM/DD"))
rTag.duration = grid.NewLabel(dur)