feat: render build date as ISO 8601 in home, sponsorship, and llms.txt

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-10-21 19:59:57 +08:00
co-authored by Claude
parent 82320c9d23
commit 7ebd061a78
+3 -3
View File
@@ -833,7 +833,7 @@ def build(repo_root: Path) -> None:
total_entries=total_entries,
total_categories=len(categories),
repo_stars=repo_stars,
build_date=build_date.strftime("%B %d, %Y"),
build_date=build_date.date().isoformat(),
sponsors=sponsors,
category_urls=category_urls,
filter_urls=filter_urls,
@@ -937,7 +937,7 @@ def build(repo_root: Path) -> None:
hero_stats: list[str] = []
if repo_stars:
hero_stats.append(f"{repo_stars}+ stars on GitHub")
hero_stats.append(f"Updated {build_date.strftime('%B %d, %Y')}")
hero_stats.append(f"Updated {build_date.date().isoformat()}")
(sponsorship_dir / "index.html").write_text(
tpl_sponsorship.render(
hero_stats=hero_stats,
@@ -994,7 +994,7 @@ def build(repo_root: Path) -> None:
llms_template,
readme_text=readme_text,
subtitle=subtitle,
build_date=build_date.strftime("%Y/%m/%d"),
build_date=build_date.date().isoformat(),
stars_data=stars_data,
downloads_data=downloads_data,
categories=categories,