Skip to content

Commit

Permalink
Merge pull request #211 from urinaner/feature/206
Browse files Browse the repository at this point in the history
[BE] refactor: createDate
  • Loading branch information
urinaner authored Dec 21, 2024
2 parents 854d2c3 + fc24f13 commit 84f8047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static BoardResDto of(Board board) {
.content(board.getContent())
.writer(board.getWriter())
.fileList(board.getFileList())
.createDate(TimeParsingUtils.toRelativeTimeFormat(board.getCreatedDateTime()))
.createDate(TimeParsingUtils.toRelativeTimeFormat(board.getCreatedDate()))
.viewCount(board.getViewCount())
.category(board.getCategory().name())
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Board extends BaseEntity {
private List<String> fileList;

@Column(name = "created_date")
private LocalDateTime createdDateTime;
private LocalDateTime createdDate;

@Enumerated(EnumType.STRING)
@Column(name = "category")
Expand Down

0 comments on commit 84f8047

Please sign in to comment.