index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
/
admin.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'models/admin.go')
-rw-r--r--
models/admin.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin.go b/models/admin.go
index c2db03da..68731a24 100644
--- a/
models/admin.go
+++ b/
models/admin.go
@@ -35,7 +35,7 @@ type Notice struct {
}
func (n *Notice) BeforeInsert() {
- n.CreatedUnix = time.Now().UTC().Unix()
+ n.CreatedUnix = time.Now().Unix()
}
func (n *Notice) AfterSet(colName string, _ xorm.Cell) {