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