diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt index 5413fee..64af747 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt @@ -68,10 +68,11 @@ class ExplorerService( .toList() val currentDateTime = LocalDateTime.now() - val lastSunday = currentDateTime + val lastMonday = currentDateTime .minusWeeks(1) .with(TemporalAdjusters.previousOrSame(DayOfWeek.SUNDAY)) - val lastMonday = lastSunday.minusDays(6) + val lastSunday = lastMonday + .plusDays(6) val formatter = DateTimeFormatter.ofPattern("MM월 dd일") val formattedLastMonday = lastMonday.format(formatter)