Commit

Author:

Hash:

Timestamp:

+1 -1 +/-1 browse

Kevin Schoon [me@kevinschoon.com]

c495a9c19ef6f1316273518fee31584ac8837575

Fri, 28 Nov 2025 20:50:23 +0000 (1 day ago)

simplify dates in content tree
1diff --git a/render.py b/render.py
2index 9bbfb78..29a2081 100755
3--- a/render.py
4+++ b/render.py
5 @@ -116,7 +116,7 @@ def _make_tree(links):
6 lref = ET.Element("a", href=link["url"])
7 link_text = link["name"]
8 if "date" in link:
9- link_text = link_text + " [" + str(link["date"]) + "]"
10+ link_text = link_text + " [" + str(link["date"].strftime("%Y-%m-%d")) + "]"
11 lref.text = link_text
12 if link["active"]:
13 lref.text = lref.text + " <"