From a22f9ec77c06d4f5e7c4d31f019155f6c9470109 Mon Sep 17 00:00:00 2001 From: sdw504512 Date: Mon, 15 Apr 2024 15:04:22 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20=EB=A1=9C=EA=B9=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../waved/domain/verification/service/GithubService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/senity/waved/domain/verification/service/GithubService.java b/src/main/java/com/senity/waved/domain/verification/service/GithubService.java index c718179..1677051 100644 --- a/src/main/java/com/senity/waved/domain/verification/service/GithubService.java +++ b/src/main/java/com/senity/waved/domain/verification/service/GithubService.java @@ -22,8 +22,8 @@ public boolean hasCommitsToday(String githubId, String token) throws IOException GHCommit commits = githubApi.getCommits(githubId, token); ZonedDateTime commitDate = commits.getCommitDate().toInstant().atZone(ZoneId.of("GMT")); // if (latestGroup.getStartDate().plusHours(9).equals(ZonedDateTime.now(ZoneId.of("GMT")).plusHours(9).truncatedTo(ChronoUnit.DAYS)) - log.error("----------------------commitDate : ", commitDate); - log.error("----------------------today : ", ZonedDateTime.now(ZoneId.of("GMT")).plusHours(9).truncatedTo(ChronoUnit.DAYS)); + log.error("----------------------commitDate : " + commitDate); + log.error("----------------------today : " + ZonedDateTime.now(ZoneId.of("GMT")).plusHours(9).truncatedTo(ChronoUnit.DAYS)); return commitDate.plusHours(9).truncatedTo(ChronoUnit.DAYS).equals(ZonedDateTime.now(ZoneId.of("GMT")).plusHours(9).truncatedTo(ChronoUnit.DAYS)); } }