Skip to content

Commit

Permalink
fix: 100일 주기 반환 값 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
qormoon committed Jul 3, 2024
1 parent 68ac9de commit f9f77dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public List<Map<String, Integer>> calculateDDay(Anniversary anniversary) {
LocalDate hundredDays = anniversaryDate.plusDays(nextDay + i * 100);
if (!hundredDays.isBefore(today)) {
Map<String, Integer> dDay = new HashMap<>();
dDay.put((nextDay + i * 100) + "days", (int) ChronoUnit.DAYS.between(today, hundredDays));
dDay.put((nextDay + i * 100) + "days", (int) ChronoUnit.DAYS.between(today, hundredDays)-1);
dDayList.add(dDay);
return dDayList;
}
Expand Down

0 comments on commit f9f77dd

Please sign in to comment.