From 324f7ead1c9333c8580277316ae9f620dfed3d715e805b5f824d6fe4da15567e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 15 Oct 2023 00:00:00 +0000 Subject: Convert Atom feed dates to UTC Atom feed dates reported as UTC were not necessarily UTC. The entry archetype converts from local to UTC by default, but the user may override that behavior. --- layouts/taxonomy/taxonomy.atom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/taxonomy/taxonomy.atom.xml') diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml index 4d8b8e4..e499961 100644 --- a/layouts/taxonomy/taxonomy.atom.xml +++ b/layouts/taxonomy/taxonomy.atom.xml @@ -2,7 +2,7 @@ {{ .Permalink }} {{ .Site.Title }} - {{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }} + {{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }} @@ -15,7 +15,7 @@ {{ .Permalink }} {{ .Title }} - {{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }} + {{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }} {{ .Content | html }} {{ end }} -- cgit v1.2.3