Skip to content

Commit

Permalink
[BE] HOTFIX: MyProfile에 현재시간 형식에 맞게 출력
Browse files Browse the repository at this point in the history
  • Loading branch information
enaenen committed Nov 27, 2023
1 parent 4ebf8cc commit d956123
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
}

0 comments on commit d956123

Please sign in to comment.