test
This commit is contained in:
parent
00cce79693
commit
a042ad6d3f
2
def.go
2
def.go
@ -124,7 +124,7 @@ func fromChatWarsDate(d string) (t time.Time, err error) {
|
|||||||
days++
|
days++
|
||||||
}
|
}
|
||||||
|
|
||||||
t, _ := time.Parse(time.RFC3339, "2017-11-10T00:00:00+00:00")
|
t, _ := time.Parse(time.RFC3339, "2017-11-20T00:00:00+00:00")
|
||||||
t = t.AddDate(0, 0, (days / 3))
|
t = t.AddDate(0, 0, (days / 3))
|
||||||
t = t.Add(time.Hour * time.Duration(days%3) * 8)
|
t = t.Add(time.Hour * time.Duration(days%3) * 8)
|
||||||
t = t.Add(time.Minute * time.Duration(hour) * 20)
|
t = t.Add(time.Minute * time.Duration(hour) * 20)
|
||||||
|
Loading…
Reference in New Issue
Block a user