mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
fix timezone
This commit is contained in:
1 parent
a5b09b30d0
commit
6c2536b89c
3 files changed
+6
-4
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user