diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-01 02:15:40 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-01 02:17:06 +0200 |
commit | c875d40e631f83507b602807480be96dae05fc85 (patch) | |
tree | a81b0909eda009acb395d936d1e2bf09e03cff3a /bug/operations/create.go | |
parent | 2f88c28c59ce0480e64dfba6d820dc6f7589a6cf (diff) | |
download | git-bug-c875d40e631f83507b602807480be96dae05fc85.tar.gz |
termui: add a view to display a bug
Diffstat (limited to 'bug/operations/create.go')
-rw-r--r-- | bug/operations/create.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/operations/create.go b/bug/operations/create.go index 4c1dd32e..0ee7e857 100644 --- a/bug/operations/create.go +++ b/bug/operations/create.go @@ -23,6 +23,8 @@ func (op CreateOperation) Apply(snapshot bug.Snapshot) bug.Snapshot { UnixTime: op.UnixTime, }, } + snapshot.Author = op.Author + snapshot.CreatedAt = op.Time() return snapshot } |