remove printf to re-run checks.
Этот коммит содержится в:
@@ -4,7 +4,6 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -51,7 +50,6 @@ func GetNextTrueUpReviewDueDate(now time.Time) time.Time {
|
|||||||
withinWindow = (nowMonth != time.January && nowMonth >= window.Start.Month()) || nowMonth == window.End.Month()
|
withinWindow = (nowMonth != time.January && nowMonth >= window.Start.Month()) || nowMonth == window.End.Month()
|
||||||
} else {
|
} else {
|
||||||
withinWindow = nowMonth >= window.Start.Month() && nowMonth <= window.End.Month()
|
withinWindow = nowMonth >= window.Start.Month() && nowMonth <= window.End.Month()
|
||||||
fmt.Printf("now month: %s, window start month: %s, window end month: %s\n", now.Format("Jan"), window.Start.Format("Jan"), window.End.Format("Jan"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only check the days if the current month is equal to the start or end months.
|
// Only check the days if the current month is equal to the start or end months.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user