라이브 예약 반환 값 - beginDateTimeUtc 추가

This commit is contained in:
2026-01-21 17:50:11 +09:00
parent 36a38d6c78
commit 65fc47eff0
2 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ class LiveReservationService(
nickname = room.member!!.nickname,
title = room.title,
beginDateString = beginDateTime.format(DateTimeFormatter.ofPattern(reservationDateFormat)),
beginDateTimeUtc = room.beginDateTime
.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME),
price = if (room.price > 0) {
val priceTemplate = messageSource.getMessage("live.room.can_title", langContext.lang).orEmpty()
String.format(priceTemplate, room.price)

View File

@@ -5,6 +5,7 @@ data class MakeLiveReservationResponse(
val nickname: String,
val title: String,
val beginDateString: String,
val beginDateTimeUtc: String,
val price: String,
val haveCan: Int,
val useCan: Int,