diff options
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operation.go b/bug/operation.go index c57d46d3..a408e167 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -51,11 +51,11 @@ type OpBase struct { } // NewOpBase is the constructor for an OpBase -func NewOpBase(opType OperationType, author Person) *OpBase { +func NewOpBase(opType OperationType, author Person, unixTime int64) *OpBase { return &OpBase{ OperationType: opType, Author: author, - UnixTime: time.Now().Unix(), + UnixTime: unixTime, } } |