From a5b09b30d0f97b7296f23940dc64fff5bf698988 Mon Sep 17 00:00:00 2001
From: Unknwon <u@gogs.io>
Date: Thu, 20 Aug 2015 00:25:32 +0800
Subject: [PATCH] print time to debug

---
 models/issue.go      | 2 +-
 modules/base/tool.go | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/models/issue.go b/models/issue.go
index cd22f1a5a1..75345217c4 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -1359,7 +1359,7 @@ func (c *Comment) AfterSet(colName string, _ xorm.Cell) {
 			}
 		}
 	case "created":
-		c.Created = c.Created.UTC()
+		fmt.Println(1, c.Created)
 	}
 }
 
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 7cf0e85446..abf12791d3 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -252,7 +252,7 @@ func computeTimeDiff(diff int64) (int64, string) {
 
 // TimeSincePro calculates the time interval and generate full user-friendly string.
 func TimeSincePro(then time.Time) string {
-	now := time.Now().UTC()
+	now := time.Now()
 	diff := now.Unix() - then.Unix()
 
 	if then.After(now) {
@@ -272,7 +272,8 @@ func TimeSincePro(then time.Time) string {
 }
 
 func timeSince(then time.Time, lang string) string {
-	now := time.Now().UTC()
+	now := time.Now()
+	fmt.Println(2, now)
 
 	lbl := i18n.Tr(lang, "tool.ago")
 	diff := now.Unix() - then.Unix()