라이브 룸 상세 - UTC 시간 추가
This commit is contained in:
@@ -453,6 +453,9 @@ class LiveRoomService(
|
||||
.withZoneSameInstant(ZoneId.of(timezone))
|
||||
.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a"))
|
||||
|
||||
val beginDateTimeUtc = room.beginDateTime
|
||||
.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)
|
||||
|
||||
val response = GetRoomDetailResponse(
|
||||
roomId = roomId,
|
||||
title = room.title,
|
||||
@@ -463,6 +466,7 @@ class LiveRoomService(
|
||||
numberOfParticipants = 0,
|
||||
channelName = room.channelName,
|
||||
beginDateTime = beginDateTime,
|
||||
beginDateTimeUtc = beginDateTimeUtc,
|
||||
isPaid = false,
|
||||
isAdult = room.isAdult,
|
||||
isPrivateRoom = room.type == LiveRoomType.PRIVATE,
|
||||
|
||||
@@ -15,6 +15,7 @@ data class GetRoomDetailResponse(
|
||||
val tags: List<String>,
|
||||
val channelName: String?,
|
||||
val beginDateTime: String,
|
||||
val beginDateTimeUtc: String,
|
||||
var numberOfParticipants: Int,
|
||||
val numberOfParticipantsTotal: Int
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user