This commit is contained in:
shoopea 2019-05-09 11:14:20 +08:00
parent 2d915156eb
commit dcfee33204

2
def.go
View File

@ -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}"))