Skip to content

Commit

Permalink
fix : 정산 남은 요일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ehBeak committed Dec 5, 2023
1 parent 1434b26 commit c1403db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public GetHouseholdHomeCommand(Household household, BigDecimal byNowExpense, Big
this.settlementDDay = dDay;
this.nowExpenseDiff = byPreviousExpense.subtract(byNowExpense);
this.isHouseholdBudgetOverWarn = isHouseholdBudgetOverWarn(household.getHouseholdBudget(), pastNearSettlementDate, byNowExpense);
this.expenseDuration = Period.between(pastNearSettlementDate, LocalDate.of(2023, 11, 23)).getDays();
this.expenseDuration = Period.between(pastNearSettlementDate, LocalDate.now()).getDays();
}

private boolean isHouseholdBudgetOverWarn(BigDecimal budget, LocalDate pastNearSettlementDate, BigDecimal householdByNowExpense) {
Expand Down

0 comments on commit c1403db

Please sign in to comment.