feat(project): show weekday and day count in weekly target popup
Each week reads like "11/1(일)~11/8(일) 8일". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,7 +59,7 @@ def week_targets() -> dict:
|
||||
"""2026년 달마다 주차(store.month_weeks) — 1월 1·2주차만 값(100·200)."""
|
||||
out = {}
|
||||
for mo in range(1, 13):
|
||||
out[mo] = [{"start": a.isoformat(), "n": i + 1, "label": f"{a.month}/{a.day}~{b.month}/{b.day}",
|
||||
out[mo] = [{"start": a.isoformat(), "n": i + 1, "days": (b - a).days + 1, "label": f"{a.month}/{a.day}~{b.month}/{b.day}",
|
||||
"value": {(1, 0): "100", (1, 1): "200"}.get((mo, i), "")}
|
||||
for i, (a, b) in enumerate(store.month_weeks(2026, mo))]
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user