From dcfee33204bdba202c28a657284ef066e18f956e Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 9 May 2019 11:14:20 +0800 Subject: [PATCH] test --- def.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/def.go b/def.go index 950965a..67fc1dc 100644 --- a/def.go +++ b/def.go @@ -104,7 +104,7 @@ func fromChatWarsDate(d string) (t time.Time, err error) { day, _ := strconv.Atoi(r.ReplaceAllString(d, "${Day}")) log.Printf("fromChatWarsDate : Month : %s\n", r.ReplaceAllString(d, "${Month}")) log.Printf("fromChatWarsDate : Year : %s\n", r.ReplaceAllString(d, "${Year}")) - hour, _ := strconv.Atoi(r.ReplaceAllString(d, "${Hour}")) + year, _ := strconv.Atoi(r.ReplaceAllString(d, "${Year}")) log.Printf("fromChatWarsDate : Hour : %s\n", r.ReplaceAllString(d, "${Hour}")) hour, _ := strconv.Atoi(r.ReplaceAllString(d, "${Hour}")) log.Printf("fromChatWarsDate : Minute : %s\n", r.ReplaceAllString(d, "${Minute}"))