From c1403db6846f3ea12e4e6f7b76a30d6539084419 Mon Sep 17 00:00:00 2001 From: eunhee Date: Tue, 5 Dec 2023 20:28:44 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=A0=95=EC=82=B0=20=EB=82=A8?= =?UTF-8?q?=EC=9D=80=20=EC=9A=94=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/port/in/command/GetHouseholdHomeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/connect/accountApp/domain/household/application/port/in/command/GetHouseholdHomeCommand.java b/src/main/java/com/connect/accountApp/domain/household/application/port/in/command/GetHouseholdHomeCommand.java index 0fecf58..5eadad3 100644 --- a/src/main/java/com/connect/accountApp/domain/household/application/port/in/command/GetHouseholdHomeCommand.java +++ b/src/main/java/com/connect/accountApp/domain/household/application/port/in/command/GetHouseholdHomeCommand.java @@ -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) {