Skip to content

Commit

Permalink
fix: AttributeConverter 오류 수정 (#335)
Browse files Browse the repository at this point in the history
(cherry picked from commit 65e7fbf)
  • Loading branch information
kwoo28 authored and Choi-JJunho committed May 9, 2024
1 parent 21ebce5 commit 9e360af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@Converter(autoApply = true)
public class LocalDateTimeAttributeConverter implements AttributeConverter<LocalDateTime, String> {

private final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
private final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss[.SSS]");

@Override
public String convertToDatabaseColumn(LocalDateTime localDateTime) {
Expand Down

0 comments on commit 9e360af

Please sign in to comment.