Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
JsonFormat 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Feb 22, 2024
1 parent 1954036 commit c1986d0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.example.daemawiki.domain.revision.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;

import java.time.LocalDateTime;
Expand All @@ -9,6 +10,7 @@ public record RevisionDocumentDetailResponse(
String documentId,
String title,
Integer numberOfRevision,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "Asia/Seoul")
LocalDateTime updatedDate
) {
}

0 comments on commit c1986d0

Please sign in to comment.