diff options
Diffstat (limited to 'bug/operations/create.go')
-rw-r--r-- | bug/operations/create.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operations/create.go b/bug/operations/create.go index 81fc58f1..f4ca11ad 100644 --- a/bug/operations/create.go +++ b/bug/operations/create.go @@ -15,7 +15,7 @@ type CreateOperation struct { Title string Message string Author bug.Person - Time time.Time + Time int64 } func NewCreateOp(author bug.Person, title, message string) CreateOperation { @@ -24,7 +24,7 @@ func NewCreateOp(author bug.Person, title, message string) CreateOperation { Title: title, Message: message, Author: author, - Time: time.Now(), + Time: time.Now().Unix(), } } |