fix timezone

This commit is contained in:
Unknwon committed 2015-08-20 00:32:18 +08:00
1 parent a5b09b30d0
commit 6c2536b89c
3 files changed
+6 -4

No files matched your search

-1
View File
@@ -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()