mirror of
https://gitee.com/gitea/gitea
synced 2025-12-25 09:46:34 +08:00
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
This commit is contained in:
@@ -89,7 +89,7 @@ type Action struct {
|
||||
}
|
||||
|
||||
func (a *Action) BeforeInsert() {
|
||||
a.CreatedUnix = time.Now().UTC().Unix()
|
||||
a.CreatedUnix = time.Now().Unix()
|
||||
}
|
||||
|
||||
func (a *Action) AfterSet(colName string, _ xorm.Cell) {
|
||||
|
||||
Reference in New Issue
Block a user