diff options
author | Unknwon <u@gogs.io> | 2015-08-20 00:32:18 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-20 00:32:18 +0800 |
commit | 6c2536b89c30ef1c99752abd50fdb3b5d2cd0691 (patch) | |
tree | 72c714503f60d2603dcda67f98bbc41f8e96c5be /modules | |
parent | a5b09b30d0f97b7296f23940dc64fff5bf698988 (diff) | |
download | gitea-6c2536b89c30ef1c99752abd50fdb3b5d2cd0691.tar.gz gitea-6c2536b89c30ef1c99752abd50fdb3b5d2cd0691.zip |
fix timezone
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/tool.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go index abf12791d3..16759f21f6 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -273,7 +273,6 @@ func TimeSincePro(then time.Time) string { func timeSince(then time.Time, lang string) string { now := time.Now() - fmt.Println(2, now) lbl := i18n.Tr(lang, "tool.ago") diff := now.Unix() - then.Unix() |