From d4e47d9891779a5be70500ce6a80cd3ca7ddce01 Mon Sep 17 00:00:00 2001 From: chaewon-io <0101angela@naver.com> Date: Tue, 16 Apr 2024 01:20:45 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20=EC=98=A4=EB=8A=98=EC=9D=98=20=ED=80=B4?= =?UTF-8?q?=EC=A6=88=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../senity/waved/domain/quiz/service/QuizServiceImpl.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java b/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java index 5990310..003b9fb 100644 --- a/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java +++ b/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java @@ -30,15 +30,10 @@ public QuizResponseDto getTodaysQuiz(Long challengeGroupId) { ZonedDateTime today = ZonedDateTime.now(ZoneId.of("Z")).truncatedTo(ChronoUnit.DAYS); - //Quiz quiz = findQuizByDate(challengeGroupId, today); + // Quiz quiz = findQuizByDate(challengeGroupId, today); Quiz quiz = quizRepository.findById(9L).orElseThrow(() -> new QuizNotFoundException("웅앵웅")); ZonedDateTime plusDate = quiz.getDate(); - - log.info("++++++++++++++++++ todayQuiz&Zoned : " + today.truncatedTo(ChronoUnit.DAYS)); - log.info("++++++++++++++++++ todayQuiz&local : " + today.toLocalDate()); - - log.error("----------------------------------------------------------------------"); log.error("----------------------------------------------------------------------"); log.error("----------------------------------------------------------------------"); @@ -49,6 +44,7 @@ public QuizResponseDto getTodaysQuiz(Long challengeGroupId) { log.error("----------------------------------------------------------------------"); log.error("----------------------------------------------------------------------"); log.info("_____________________ todayQuiz : " + today); + log.info("______________ today system def : " + ZonedDateTime.now(ZoneId.systemDefault())); log.info("_____________________ Quizdate : " + plusDate); log.info("______________ todayQuiz zoneId : " + today.getZone()); log.info("______________ Quizdate zoneId : " + plusDate.getZone());