Skip to content

Commit

Permalink
Merge pull request #194 from 100-hours-a-week/htfix-reviewtime
Browse files Browse the repository at this point in the history
fix: 리뷰 시간 수정
  • Loading branch information
sen2y authored Sep 22, 2024
2 parents 2f3f6b1 + 5354672 commit bbffc8b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ private static String formatToUTC(LocalDateTime dateTime) {
if (dateTime == null) {
return null;
}
return dateTime.atZone(ZoneId.systemDefault())
.withZoneSameInstant(ZoneId.of("UTC"))
.format(UTC_FORMATTER);
return dateTime.atZone(ZoneId.systemDefault()) // 시스템 시간대 적용
.format(UTC_FORMATTER); // 형식에 맞춰 반환
}
}

0 comments on commit bbffc8b

Please sign in to comment.