Remove redundant Unix timestamp method call

Unix() already uses UTC as timezone
此提交包含在:
Unknwon
2016-07-23 20:24:44 +08:00
父節點 4e822c1911
當前提交 250be011c7
共有 13 個檔案被更改,包括 38 行新增38 行删除
+1 -1
查看文件
@@ -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) {