diff options
Diffstat (limited to 'models/token.go')
-rw-r--r-- | models/token.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/token.go b/models/token.go index d015d97a..2c1f64ce 100644 --- a/models/token.go +++ b/models/token.go @@ -29,11 +29,11 @@ type AccessToken struct { } func (t *AccessToken) BeforeInsert() { - t.CreatedUnix = time.Now().UTC().Unix() + t.CreatedUnix = time.Now().Unix() } func (t *AccessToken) BeforeUpdate() { - t.UpdatedUnix = time.Now().UTC().Unix() + t.UpdatedUnix = time.Now().Unix() } func (t *AccessToken) AfterSet(colName string, _ xorm.Cell) { |