From c235d89d36500e58e3bcadda94e9cab06023dd55 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 24 Feb 2019 23:05:03 +0100 Subject: commands: show the last modification time in "user" --- bug/op_label_change.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bug/op_label_change.go') diff --git a/bug/op_label_change.go b/bug/op_label_change.go index b0dd2c33..84542b6e 100644 --- a/bug/op_label_change.go +++ b/bug/op_label_change.go @@ -6,6 +6,7 @@ import ( "sort" "github.com/MichaelMure/git-bug/identity" + "github.com/MichaelMure/git-bug/util/timestamp" "github.com/MichaelMure/git-bug/util/git" "github.com/pkg/errors" @@ -68,7 +69,7 @@ AddLoop: item := &LabelChangeTimelineItem{ hash: hash, Author: op.Author, - UnixTime: Timestamp(op.UnixTime), + UnixTime: timestamp.Timestamp(op.UnixTime), Added: op.Added, Removed: op.Removed, } @@ -162,7 +163,7 @@ func NewLabelChangeOperation(author identity.Interface, unixTime int64, added, r type LabelChangeTimelineItem struct { hash git.Hash Author identity.Interface - UnixTime Timestamp + UnixTime timestamp.Timestamp Added []Label Removed []Label } -- cgit