This commit is contained in:
gorhill 2013-09-09 09:30:44 -04:00
parent 4a303f4d72
commit 2fc5c1e285
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ func workdayOfMonth(targetDom, lastDom time.Time) int {
} else { } else {
dom += 2 dom += 2
} }
// If sunday, then monday // If sunday, then monday
} else if dow == time.Sunday { } else if dow == time.Sunday {
if dom < lastDom.Day() { if dom < lastDom.Day() {
dom += 1 dom += 1