test
This commit is contained in:
parent
dcfee33204
commit
ffbd0513f9
2
def.go
2
def.go
@ -110,7 +110,7 @@ func fromChatWarsDate(d string) (t time.Time, err error) {
|
|||||||
log.Printf("fromChatWarsDate : Minute : %s\n", r.ReplaceAllString(d, "${Minute}"))
|
log.Printf("fromChatWarsDate : Minute : %s\n", r.ReplaceAllString(d, "${Minute}"))
|
||||||
minute, _ := strconv.Atoi(r.ReplaceAllString(d, "${Minute}"))
|
minute, _ := strconv.Atoi(r.ReplaceAllString(d, "${Minute}"))
|
||||||
days := int(0)
|
days := int(0)
|
||||||
for i := 1059; i < strconv.Atoi(r.ReplaceAllString(d, "${Year}")); i++ {
|
for i := 1059; i < year; i++ {
|
||||||
days = days + 365
|
days = days + 365
|
||||||
}
|
}
|
||||||
for i := 1; i < chatWarsMonth[r.ReplaceAllString(d, "${Month}")]; i++ {
|
for i := 1; i < chatWarsMonth[r.ReplaceAllString(d, "${Month}")]; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user