This commit is contained in:
shoopea 2019-05-09 11:21:49 +08:00
parent 08be6fd107
commit 4e28a03814

2
def.go
View File

@ -124,7 +124,7 @@ func fromChatWarsDate(d string) (t time.Time, err error) {
days++
}
t, _ := time.Parse(time.RFC3339, "2017-11-20T00:00:00+00:00")
t, _ := time.Parse(time.RFC3339, "2017-11-18T21:00:00+00:00")
t = t.AddDate(0, 0, (days / 3))
t = t.Add(time.Hour * time.Duration(days%3) * 8)
t = t.Add(time.Minute * time.Duration(hour) * 20)