test
This commit is contained in:
parent
6a9d4da46d
commit
99bda82986
2
msg.go
2
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user