From 0f614dd82f892b0449577b09820ccfa462499b2b Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Mon, 12 Oct 2026 11:22:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=85=B8=EC=9D=84=20=EC=BB=A4=EB=B0=8B?= =?UTF-8?q?=EC=97=90=20=EC=84=9E=EC=9D=B8=20=EC=9E=90=EC=99=B8=EC=84=A0=20?= =?UTF-8?q?=EC=9E=91=EC=97=85=20=EB=91=90=20=EC=A4=84(uv=5Flevel)=20?= =?UTF-8?q?=EB=B9=BC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/services/feed_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/feed_service.py b/backend/services/feed_service.py index cb0f904..b1f72ec 100644 --- a/backend/services/feed_service.py +++ b/backend/services/feed_service.py @@ -30,7 +30,7 @@ from services.calc.index_calc import rank_score from services.calc.moon import MoonNight, nearest, night, view_line from services.calc.sky_score import GRADE_LABEL, sky_title from services.calc.sun import sun_times -from services.hero_stats import UV_HIGH, HeroInput, hero_stats, uv_label, uv_level +from services.hero_stats import UV_HIGH, HeroInput, hero_stats, uv_label from services.index_service import IndexBoard, IndexItem, IndexService from services.now_service import NowService, NowWeather from services.season_service import SeasonService @@ -627,7 +627,7 @@ class FeedService: return None label = uv_label(top) at = peak.forecast_at.astimezone(KST) - rows = [Row(label=f"{r.forecast_at.astimezone(KST).hour}시", value=uv_label(float(r.uv_index)), level=uv_level(float(r.uv_index))) for r in c.uv] + rows = [Row(label=f"{r.forecast_at.astimezone(KST).hour}시", value=uv_label(float(r.uv_index))) for r in c.uv] when = "점심때" if at.hour == 12 else f"{hour_label(at.hour)} 무렵" todo = "선크림·모자·선글라스 챙기고 그늘로 다녀요" if top >= UV_HIGH else "선크림·모자 챙겨요" line = f"오늘 자외선 지수 {label}\n{when} 나가면 {todo}"