feat: 계절 각 — 각마다 제철 달(months), 제철 각에 지금 계절 표시·철 지난 각은 순위 밖 맨 끝, 새 각 12개(꽃구경·이불빨래·빙수·실내건조·한강밤바람·단풍·억새·군고구마·해돋이·눈사람·붕어빵·귤까먹기), 해 뜰 무렵 시간대·일출 점수·눈 조건

This commit is contained in:
minaChoi committed 2026-10-12 17:20:00 +09:00
1 parent 43e1925d70
commit 5c05824ce0
14 files changed
+1130 -66

No files matched your search

+2 -1
View File
@@ -371,7 +371,8 @@ class FeedService:
for p, item in zip(gak_posts, gak):
cards.append(self._gak(p, item))
has_warning = bool(now_w and now_w.warnings)
items = board.items if board else []
# 오늘 이야기 줄엔 제철인 각만 (철 지난 각은 각 탭 목록 끝에만)
items = [i for i in board.items if i.in_season] if board else []
feed = Res_Feed(
region_code=region.code, region_name=region.name, slot=slot,
hero=self._hero(now, slot, hourly[0] if hourly else None, now_w, board, today, await self._uv(region.code, hour), _moon_view(region, now, hourly or [])),