Skip to content

Commit

Permalink
fix: decrease to 5 month for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Jul 4, 2024
1 parent 0ec4482 commit c2306c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Checker {
return r.map((x) => {
const d = this.zincDate.from(x.date!);
const today = new Date();
const sixMonthsLater = addMonths(today, 6);
const sixMonthsLater = addMonths(today, 5);
const lastDayOfMonth = endOfMonth(sixMonthsLater);
return [d, lastDayOfMonth] as [Date, Date];
});
Expand Down

0 comments on commit c2306c1

Please sign in to comment.