Skip to content

Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.

fix(scripts): use portable strftime in gen-star-history (#59)

Thejesh348efed14365
diff --git a/scripts/gen-star-history.py b/scripts/gen-star-history.py
index eb4c38e..dcb6b1b 100644
--- a/scripts/gen-star-history.py
+++ b/scripts/gen-star-history.py
@@ -119,7 +119,8 @@ def render(repo: str, pts: list[tuple[datetime, int]], theme: dict) -> str:
end_x, end_y = sx(x1), sy(y_max_raw)
label_anchor = "end"
label_x = end_x - 10
- updated = pts[-1][0].strftime("%b %-d, %Y")
+ last = pts[-1][0]
+ updated = f"{last:%b} {last.day}, {last.year}"
font = "font-family=\"-apple-system,'Segoe UI',Helvetica,Arial,sans-serif\""
return f'''<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {W} {H}" width="{W}" height="{H}" role="img" aria-label="Cumulative GitHub stars for {repo}: {y_max_raw:,} as of {updated}">