Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public EntryStatusResponseDto processEntryStatus(Long storeId, String userId, Me
.user(userRepository.getReferenceById(Long.valueOf(userId)))
.partySize(partySize)
.requestedAt(requestedAt)
.updatedAt(LocalDateTime.now())
.updatedAt(LocalDateTime.now(ZoneId.of("Asia/Seoul")))
.build();

// 호출 시각 반영
Expand All @@ -302,7 +302,7 @@ public EntryStatusResponseDto processEntryStatus(Long storeId, String userId, Me
end
).orElseThrow(() -> new IllegalStateException("취소된 예약이 없습니다."));

existing.markUpdated(LocalDateTime.now(), ReservationStatus.CONFIRMED);
existing.markUpdated(LocalDateTime.now(ZoneId.of("Asia/Seoul")), ReservationStatus.CONFIRMED);
Reservation saved = reservationRepository.save(existing);
return EntryStatusResponseDto.fromEntity(saved);
}
Expand All @@ -320,7 +320,7 @@ public EntryStatusResponseDto processEntryStatus(Long storeId, String userId, Me
.user(userRepository.getReferenceById(Long.valueOf(userId)))
.partySize(partySize)
.requestedAt(requestedAt)
.updatedAt(LocalDateTime.now())
.updatedAt(LocalDateTime.now(ZoneId.of("Asia/Seoul")))
.build();

r.markUpdated(LocalDateTime.now(), ReservationStatus.CANCELLED);
Expand Down