From 6e8ec16db55443ff34fba04a70fd73a27b63e766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9B=90=EA=B2=BD?= <148550522+kwoo28@users.noreply.github.com> Date: Tue, 9 Apr 2024 02:48:23 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20attribute=20converter=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95=20(#349)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: 회원가입 인증 토큰 만료기간 수정 * fix: AttributeConverter 오류 수정 (cherry picked from commit 41f8c86e7307aff7804f5f472120c34b2dcfdcc0) --- .../koin/global/config/LocalDateTimeAttributeConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/in/koreatech/koin/global/config/LocalDateTimeAttributeConverter.java b/src/main/java/in/koreatech/koin/global/config/LocalDateTimeAttributeConverter.java index f38c3320c..c2d226a47 100644 --- a/src/main/java/in/koreatech/koin/global/config/LocalDateTimeAttributeConverter.java +++ b/src/main/java/in/koreatech/koin/global/config/LocalDateTimeAttributeConverter.java @@ -10,7 +10,7 @@ public class LocalDateTimeAttributeConverter implements AttributeConverter { 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) {