Skip to content

Adjust last calculable date in WorkdayService to exclude today#34

Merged
jeyongsong merged 1 commit intomainfrom
modify-last-calculable-date
Mar 1, 2026
Merged

Adjust last calculable date in WorkdayService to exclude today#34
jeyongsong merged 1 commit intomainfrom
modify-last-calculable-date

Conversation

@jeyongsong
Copy link
Member

This pull request makes a targeted adjustment to the workday calculation logic in the WorkdayService. The change ensures that earnings are only calculated up to the day before the current date, rather than including today.

  • Calculation logic update:
    • In WorkdayService.kt, changed the calculation of lastCalculableDate to use today.minusDays(1), so that calculations exclude the current day.

@jeyongsong
Copy link
Member Author

@subsub97 하루가 지나지 않았는데 누적월급에 반영되는 버그 해결입니당~~

@github-actions
Copy link

github-actions bot commented Mar 1, 2026

Test Results

32 tests   32 ✅  0s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit df3c78e.

@jeyongsong jeyongsong merged commit 659e7d1 into main Mar 1, 2026
2 checks passed
@jeyongsong jeyongsong deleted the modify-last-calculable-date branch March 1, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant