From d956123d607967f3fff8255e542403969f832707 Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Mon, 27 Nov 2023 15:11:35 +0900 Subject: [PATCH] =?UTF-8?q?[BE]=20HOTFIX:=20MyProfile=EC=97=90=20=ED=98=84?= =?UTF-8?q?=EC=9E=AC=EC=8B=9C=EA=B0=84=20=ED=98=95=EC=8B=9D=EC=97=90=20?= =?UTF-8?q?=EB=A7=9E=EA=B2=8C=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/ftclub/cabinet/dto/MyProfileResponseDto.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/src/main/java/org/ftclub/cabinet/dto/MyProfileResponseDto.java b/backend/src/main/java/org/ftclub/cabinet/dto/MyProfileResponseDto.java index 08ada145b..00b23c726 100644 --- a/backend/src/main/java/org/ftclub/cabinet/dto/MyProfileResponseDto.java +++ b/backend/src/main/java/org/ftclub/cabinet/dto/MyProfileResponseDto.java @@ -1,6 +1,8 @@ package org.ftclub.cabinet.dto; import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.util.Locale; import lombok.AllArgsConstructor; import lombok.Getter; import org.ftclub.cabinet.user.domain.LentExtension; @@ -16,5 +18,8 @@ public class MyProfileResponseDto { private final String name; private final Long cabinetId; private final LocalDateTime unbannedAt; + private final String date = LocalDateTime.now().format( + DateTimeFormatter.ofPattern("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US) + ); private final LentExtensionResponseDto lentExtensionResponseDto; }