Skip to content

Commit

Permalink
Test: 로깅 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nampongo committed Apr 15, 2024
1 parent 5e5e528 commit a22f9ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit a22f9ec

Please sign in to comment.