Skip to content

Commit

Permalink
fix #9: LocalDate 말일 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfgx123 committed Dec 6, 2023
1 parent 8b8a1d7 commit 37eb995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/fc/mini3server/service/AdminService.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class AdminService {
private static final LocalDate startOfMonth = today.withDayOfMonth(1);
private static final LocalDate endOfMonth = today.withDayOfMonth(today.lengthOfMonth());
private static final LocalDate startOfLastMonth = today.minusMonths(1).withDayOfMonth(1);
private static final LocalDate endOfLastMonth = today.minusMonths(1).withDayOfMonth(today.lengthOfMonth());
private static final LocalDate endOfLastMonth = today.withDayOfMonth(1).minusMonths(1).withDayOfMonth(today.minusMonths(1).lengthOfMonth());
private final UserService userService;
private final UserRepository userRepository;
private final ScheduleRepository scheduleRepository;
Expand Down

0 comments on commit 37eb995

Please sign in to comment.