1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-03 00:45:22 +02:00

Remove redundant Unix timestamp method call

Unix() already uses UTC as timezone
This commit is contained in:
Unknwon 2016-07-23 20:24:44 +08:00
parent 4e822c1911
commit 250be011c7
13 changed files with 38 additions and 38 deletions

View file

@ -39,7 +39,7 @@ type Release struct {
}
func (r *Release) BeforeInsert() {
r.CreatedUnix = time.Now().UTC().Unix()
r.CreatedUnix = time.Now().Unix()
}
func (r *Release) AfterSet(colName string, _ xorm.Cell) {