Skip to content

Commit

Permalink
Test: 퀴즈 날짜 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewon-io committed Apr 15, 2024
1 parent 43bc3b7 commit 63c2339
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ 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());

Expand Down

0 comments on commit 63c2339

Please sign in to comment.