mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 23:33:08 +08:00
fix timezone
This commit is contained in:
@ -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