test
This commit is contained in:
parent
22c8b0b452
commit
6a9d4da46d
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", cwm.RealTime)
|
||||
log.Printf("parseSubTypeMessageTimeAck : %v", time.Now.UTC().Sub(cwm.RealTime))
|
||||
return &cwm, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user