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
/
pull.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/pull.go')
-rw-r--r--
models/pull.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go
index 6380bbbd..38fd9457 100644
--- a/
models/pull.go
+++ b/
models/pull.go
@@ -65,7 +65,7 @@ type PullRequest struct {
}
func (pr *PullRequest) BeforeUpdate() {
- pr.MergedUnix = pr.Merged.UTC().Unix()
+ pr.MergedUnix = pr.Merged.Unix()
}
// Note: don't try to get Pull because will end up recursive querying.