calendar: fix completed field name from todoman --porcelain output
This commit is contained in:
@@ -593,7 +593,7 @@ def _format_todo_digest(todos):
|
||||
days = _days_until(due)
|
||||
urgency = _urgency_label(days)
|
||||
desc = t.get("description") or ""
|
||||
is_completed = t.get("is_completed", False)
|
||||
is_completed = t.get("completed", False)
|
||||
|
||||
if is_completed:
|
||||
line = f" • ✅ {summary} (已完成)"
|
||||
|
||||
Reference in New Issue
Block a user