Skip to content

Commit

Permalink
Fix: attribute converter 오류 수정 (#349)
Browse files Browse the repository at this point in the history
* refactor: 회원가입 인증 토큰 만료기간 수정

* fix: AttributeConverter 오류 수정

(cherry picked from commit 41f8c86)
  • Loading branch information
kwoo28 authored and Choi-JJunho committed May 9, 2024
1 parent b3cc8ec commit 6e8ec16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class LocalDateTimeAttributeConverter implements AttributeConverter<LocalDateTime, String> {

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

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

0 comments on commit 6e8ec16

Please sign in to comment.