탐색 인기 크리에이터 - 날짜 설명 글 수정 #46
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user