add 7 days for classes not 1
This commit is contained in:
parent
30ae21a823
commit
f45f2ae21d
BIN
classExample.pdf
BIN
classExample.pdf
Binary file not shown.
|
@ -74,7 +74,7 @@ func class(file *os.File) {
|
||||||
"Week": fmt.Sprintf("Week %d", i+1),
|
"Week": fmt.Sprintf("Week %d", i+1),
|
||||||
}
|
}
|
||||||
check(body.Execute(file, info))
|
check(body.Execute(file, info))
|
||||||
day = day.Add(24 * time.Hour)
|
day = day.Add(24 * 7 * time.Hour)
|
||||||
}
|
}
|
||||||
check(foot.Execute(file, nil))
|
check(foot.Execute(file, nil))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue