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 0a752d3..af0b47d 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt @@ -74,15 +74,17 @@ class ExplorerService( val lastSunday = lastMonday .plusDays(6) - val formatter = DateTimeFormatter.ofPattern("MM월 dd일") - val formattedLastMonday = lastMonday.format(formatter) - val formattedLastSunday = lastSunday.format(formatter) + val startDateFormatter = DateTimeFormatter.ofPattern("yyyy년 MM월 dd일") + val endDateFormatter = DateTimeFormatter.ofPattern("MM월 dd일") + + val formattedLastMonday = lastMonday.format(startDateFormatter) + val formattedLastSunday = lastSunday.format(endDateFormatter) val creatorRankingSection = GetExplorerSectionResponse( title = "인기 크리에이터", coloredTitle = "인기", color = "FF5C49", - desc = "$formattedLastMonday~$formattedLastSunday\n※ 인기 크리에이터의 순위는 매주 업데이트 됩니다.", + desc = "$formattedLastMonday ~ $formattedLastSunday", creators = creatorRankings ) sections.add(creatorRankingSection)