mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
fix #2804
This commit is contained in:
1 parent
263304b6b7
commit
f76d821bda
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ type Release struct {
|
||||
}
|
||||
|
||||
func (r *Release) BeforeInsert() {
|
||||
r.CreatedUnix = r.Created.UTC().Unix()
|
||||
r.CreatedUnix = time.Now().UTC().Unix()
|
||||
}
|
||||
|
||||
func (r *Release) AfterSet(colName string, _ xorm.Cell) {
|
||||
|
||||
Reference in new issue
Block a user