summaryrefslogtreecommitdiffstats
path: root/models/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/release.go')
-rw-r--r--models/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go
index 2355ef3092..274776b5c4 100644
--- a/models/release.go
+++ b/models/release.go
@@ -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) {