Skip to content

Commit

Permalink
RAC-322 fix : 정산일 계산 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 authored Mar 10, 2024
1 parent 0246469 commit e581761
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public static LocalDate getSalaryDate() {
LocalDate now = LocalDate.now();
DayOfWeek dayOfWeek = now.getDayOfWeek();
return dayOfWeek.getValue() < SALARY_END_DATE
? now.plusDays(7 + (dayOfWeek.getValue() - SALARY_DATE))
: now.plusDays(dayOfWeek.getValue() - SALARY_DATE);
? now.plusDays(7 + (dayOfWeek.getValue() - SALARY_DATE) + 1)
: now.plusDays(dayOfWeek.getValue() - SALARY_DATE + 1);
}

public static SalaryStatus getStatus(Salary salary) {
Expand Down

0 comments on commit e581761

Please sign in to comment.