탐색 인기 크리에이터 - 날짜 설명 글 수정
This commit is contained in:
parent
6775d3d72d
commit
7a22e7d887
|
@ -74,15 +74,17 @@ class ExplorerService(
|
||||||
val lastSunday = lastMonday
|
val lastSunday = lastMonday
|
||||||
.plusDays(6)
|
.plusDays(6)
|
||||||
|
|
||||||
val formatter = DateTimeFormatter.ofPattern("MM월 dd일")
|
val startDateFormatter = DateTimeFormatter.ofPattern("yyyy년 MM월 dd일")
|
||||||
val formattedLastMonday = lastMonday.format(formatter)
|
val endDateFormatter = DateTimeFormatter.ofPattern("MM월 dd일")
|
||||||
val formattedLastSunday = lastSunday.format(formatter)
|
|
||||||
|
val formattedLastMonday = lastMonday.format(startDateFormatter)
|
||||||
|
val formattedLastSunday = lastSunday.format(endDateFormatter)
|
||||||
|
|
||||||
val creatorRankingSection = GetExplorerSectionResponse(
|
val creatorRankingSection = GetExplorerSectionResponse(
|
||||||
title = "인기 크리에이터",
|
title = "인기 크리에이터",
|
||||||
coloredTitle = "인기",
|
coloredTitle = "인기",
|
||||||
color = "FF5C49",
|
color = "FF5C49",
|
||||||
desc = "$formattedLastMonday~$formattedLastSunday\n※ 인기 크리에이터의 순위는 매주 업데이트 됩니다.",
|
desc = "$formattedLastMonday ~ $formattedLastSunday",
|
||||||
creators = creatorRankings
|
creators = creatorRankings
|
||||||
)
|
)
|
||||||
sections.add(creatorRankingSection)
|
sections.add(creatorRankingSection)
|
||||||
|
|
Loading…
Reference in New Issue