From 6fcde98234bda2dfe474ac0a5114f06dc4e1c8c0 Mon Sep 17 00:00:00 2001 From: Matthew Helmke Date: Fri, 16 Oct 2026 09:04:12 -0500 Subject: [PATCH] Fix malformed year in ai-metadata.json timestamps The last_updated and build_time layouts used 2025 where Go's reference year 2006 belongs. Go reads that 2025 as day (2), zero-padded day (02), and seconds (5), so a build at 08:59:06 on October 16 rendered "16166-10-16T08:59:06-05:00". Both now render ISO 8601 dates. Co-Authored-By: Claude Opus 5.5 --- layouts/index.aimetadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.aimetadata.json b/layouts/index.aimetadata.json index 2564b48e53..58ecfea628 100644 --- a/layouts/index.aimetadata.json +++ b/layouts/index.aimetadata.json @@ -6,7 +6,7 @@ "name": "{{ .Site.Title }}", "domain": "edu.chainguard.dev", "description": "{{ .Site.Params.description }}", - "last_updated": "{{ now.Format "2025-01-02T15:04:05Z07:00" }}", + "last_updated": "{{ now.Format "2006-01-02T15:04:05Z07:00" }}", "language": "{{ .Site.Language.Lang }}", "base_url": "{{ .Site.BaseURL }}" }, @@ -54,7 +54,7 @@ "total_pages": {{ len .Site.Pages }}, "sections": {{ len .Site.Sections }}, "tags": {{ len .Site.Taxonomies.tags }}, - "build_time": "{{ now.Format "2025-01-02T15:04:05Z07:00" }}" + "build_time": "{{ now.Format "2006-01-02T15:04:05Z07:00" }}" }, "update_frequency": { "products": "daily",