From 99bda82986983e29f4105619373f13bdb3673c3e Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 27 Jun 2020 11:46:55 +0200 Subject: [PATCH] test --- msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg.go b/msg.go index 2a7bcb0..6d591d7 100644 --- a/msg.go +++ b/msg.go @@ -630,7 +630,7 @@ func parseSubTypeMessageTimeAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWars cwm.Year, _ = strconv.ParseInt(r.ReplaceAllString(m.Text, "${Year}"), 10, 64) cwm.Weather = r.ReplaceAllString(m.Text, "${Weather}") cwm.WeatherNext = r.ReplaceAllString(m.Text, "${WeatherNext}") - log.Printf("parseSubTypeMessageTimeAck : %v", time.Now.UTC().Sub(cwm.RealTime)) + log.Printf("parseSubTypeMessageTimeAck : drift %v", m.Date.Sub(cwm.RealTime)) return &cwm, nil }