aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_add_comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-30 11:00:39 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-30 11:03:42 +0200
commit037f5bf50b2bb2b020620413d186b6acf47a0b61 (patch)
tree6639ac6f8c53bcc4a27660ea92faff46974e98b2 /bug/op_add_comment.go
parentd450c7a883876e0f5356fb5cb54109a0a2a77dfd (diff)
downloadgit-bug-037f5bf50b2bb2b020620413d186b6acf47a0b61.tar.gz
timeline: various minor improvements
Diffstat (limited to 'bug/op_add_comment.go')
-rw-r--r--bug/op_add_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go
index 4594ba70..7f8b8b5b 100644
--- a/bug/op_add_comment.go
+++ b/bug/op_add_comment.go
@@ -30,7 +30,7 @@ func (op *AddCommentOperation) Apply(snapshot *Snapshot) {
Message: op.Message,
Author: op.Author,
Files: op.Files,
- UnixTime: op.UnixTime,
+ UnixTime: Timestamp(op.UnixTime),
}
snapshot.Comments = append(snapshot.Comments, comment)