From fc679b278170a904fc7b00ba5c9e3b702b777ae7 Mon Sep 17 00:00:00 2001 From: ymkim97 Date: Sun, 3 Dec 2023 22:03:02 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20date=20equals=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/moabam/api/application/room/SearchService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/moabam/api/application/room/SearchService.java b/src/main/java/com/moabam/api/application/room/SearchService.java index 71910df2..f489d966 100644 --- a/src/main/java/com/moabam/api/application/room/SearchService.java +++ b/src/main/java/com/moabam/api/application/room/SearchService.java @@ -398,7 +398,7 @@ private List getCertifiedDatesBeforeWeek(Long roomId) { } private double calculateCompletePercentage(int certifiedMembersCount, Room room, LocalDate date) { - if (date != clockHolder.date()) { + if (!date.equals(clockHolder.date())) { return 0; }