From 6aab857455e574efc329b8b0def292a5fb25ea17 Mon Sep 17 00:00:00 2001 From: junyong Date: Tue, 9 Sep 2025 02:40:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AA=85=EC=86=8C=20=EC=8B=A4=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=20=ED=98=BC=EC=9E=A1=EB=8F=84=20=ED=98=84=EC=9E=AC=20?= =?UTF-8?q?=EC=8B=9C=EA=B0=84=EC=9D=84=20=EC=A4=91=EC=8B=AC=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B0=98=ED=99=98=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../busan/domain/place/service/PlaceCongestionQueryService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/busanVibe/busan/domain/place/service/PlaceCongestionQueryService.kt b/src/main/kotlin/busanVibe/busan/domain/place/service/PlaceCongestionQueryService.kt index df612bd..f5ed1c1 100644 --- a/src/main/kotlin/busanVibe/busan/domain/place/service/PlaceCongestionQueryService.kt +++ b/src/main/kotlin/busanVibe/busan/domain/place/service/PlaceCongestionQueryService.kt @@ -116,7 +116,7 @@ class PlaceCongestionQueryService( val roundedBase = (current.hour / 3) * 3 // 최근 6개 3시간 단위 시간 생성 (기준시간 포함 총 7개) - val hours = (6 downTo 0).map { i -> (roundedBase - i * 3 + 24) % 24 } + val hours = (-3 .. 3).map { i -> (roundedBase - i * 3 + 24) % 24 } val byTimePercent: List = hours.map { hour -> val adjustedDateTime = current.withHour(hour)