From ac782bd665343acca4d720b84ff81ba6d1ef079e Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 31 Dec 2025 19:32:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=A3=B8=20?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8,=20=EC=83=81=EC=84=B8=20-=20?= =?UTF-8?q?=EB=8B=A4=EA=B5=AD=EC=96=B4=20=EC=B2=98=EB=A6=AC=EB=A5=BC=20?= =?UTF-8?q?=ED=95=98=EB=A9=B4=EC=84=9C=20=EC=83=9D=EA=B8=B4=20=EB=82=A0?= =?UTF-8?q?=EC=A7=9C=20=ED=8F=AC=EB=A7=B7=20=EC=9D=B4=EC=A0=84=20=ED=98=95?= =?UTF-8?q?=ED=83=9C=EB=A1=9C=20=EB=B3=B5=EA=B5=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sodalive/live/room/LiveRoomService.kt | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt index 1e3b98ae..9bb9f972 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt @@ -70,6 +70,7 @@ import java.time.LocalDateTime import java.time.ZoneId import java.time.format.DateTimeFormatter import java.util.Date +import java.util.Locale import java.util.concurrent.locks.ReentrantReadWriteLock import kotlin.concurrent.write @@ -181,16 +182,13 @@ class LiveRoomService( } } - val beginDateTimeFormat = messageSource - .getMessage("live.room.datetime_format", langContext.lang) - .orEmpty() val beginDateTime = it.beginDateTime .atZone(ZoneId.of("UTC")) .withZoneSameInstant(ZoneId.of(timezone)) .format( DateTimeFormatter - .ofPattern(beginDateTimeFormat) - .withLocale(langContext.lang.locale) + .ofPattern("yyyy년 MM월 dd일 (E) a hh시 mm분") + .withLocale(Locale.KOREAN) ) val beginDateTimeUtc = it.beginDateTime @@ -450,17 +448,10 @@ class LiveRoomService( throw SodaException(messageKey = "live.room.adult_verification_required") } - val detailDateTimeFormat = messageSource - .getMessage("live.room.datetime_format_detail", langContext.lang) - .orEmpty() val beginDateTime = room.beginDateTime .atZone(ZoneId.of("UTC")) .withZoneSameInstant(ZoneId.of(timezone)) - .format( - DateTimeFormatter - .ofPattern(detailDateTimeFormat) - .withLocale(langContext.lang.locale) - ) + .format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")) val response = GetRoomDetailResponse( roomId = roomId,