Make mac cycle length test more meaningful

This commit is contained in:
Julia Friesel
2019-01-04 18:59:28 +01:00
parent 8d7fa268de
commit c47e453882
2 changed files with 6 additions and 3 deletions
-1
View File
@@ -85,7 +85,6 @@ export default function config(opts) {
cycle = cycleDaysSortedByDate.slice(0, cycleStartIndex + 1)
cycleLength = startLocalDate.until(todayAsLocalDate, DAYS)
}
console.log(cycleLength, maxCycleLength)
return cycleLength > maxCycleLength ? null : cycle
}