mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 02:31:39 +02:00
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
This commit is contained in:
1 parent
4e822c1911
commit
250be011c7
13 files changed
+38
-38
No files matched your search
@@ -69,7 +69,7 @@ type Comment struct {
|
||||
}
|
||||
|
||||
func (c *Comment) BeforeInsert() {
|
||||
c.CreatedUnix = time.Now().UTC().Unix()
|
||||
c.CreatedUnix = time.Now().Unix()
|
||||
}
|
||||
|
||||
func (c *Comment) AfterSet(colName string, _ xorm.Cell) {
|
||||
|
||||
Reference in new issue
Block a user