diff options
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/comment.go b/bug/comment.go index 8ea4154f..63147776 100644 --- a/bug/comment.go +++ b/bug/comment.go @@ -8,9 +8,9 @@ type Comment struct { // Creation time of the comment. // Should be used only for human display, never for ordering as we can't rely on it in a distributed system. - Time int64 + UnixTime int64 } func (c Comment) FormatTime() string { - return time.Unix(c.Time, 0).Format(time.RFC822) + return time.Unix(c.UnixTime, 0).Format(time.RFC822) } |