라이브 상세 - 시작 시간 dateformat yyyy.MM.dd E hh:mm a 로 복구

This commit is contained in:
Klaus 2023-11-14 12:07:42 +09:00
parent 06a890bc15
commit 41a4802dc6
1 changed files with 6 additions and 2 deletions

View File

@ -126,7 +126,11 @@ class LiveRoomService(
val beginDateTime = it.beginDateTime
.atZone(ZoneId.of("UTC"))
.withZoneSameInstant(ZoneId.of(timezone))
.format(DateTimeFormatter.ofPattern("yyyy년 MM월 dd일 (E) a hh시 mm분").withLocale(Locale.KOREAN))
.format(
DateTimeFormatter
.ofPattern("yyyy년 MM월 dd일 (E) a hh시 mm분")
.withLocale(Locale.KOREAN)
)
GetRoomListResponse(
roomId = it.id!!,
@ -297,7 +301,7 @@ class LiveRoomService(
val beginDateTime = room.beginDateTime
.atZone(ZoneId.of("UTC"))
.withZoneSameInstant(ZoneId.of(timezone))
.format(DateTimeFormatter.ofPattern("yyyy년 MM월 dd일 (E) a hh시 mm분").withLocale(Locale.KOREAN))
.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a"))
val response = GetRoomDetailResponse(
roomId = roomId,