commit 5fd2031d9c2e6d5de157c12f67d645d5062c15c3
parent d3d3e2b7660b0b56fd0f68218fd4dc51299102a8
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 30 Nov 2019 11:30:40 -0500
Use RFC-3339 datetime
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/rss.xml b/layouts/rss.xml
@@ -2,14 +2,14 @@
<title>{{ .Site.Title }}</title>
<link href="{{ .Permalink }}"/>
<link href="{{ .Permalink }}index.xml" rel="self"/>
- <updated>{{ .Lastmod.Format "2006-01-02" }}</updated>
+ <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
<author><name>{{.Site.Params.Author}}</name></author>
<id>{{ .Permalink }}</id>
{{ range where .Site.RegularPages "Section" "!=" "" }}
<entry>
<id>{{ .Permalink }}</id>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
- <updated>{{ .Lastmod.Format "2006-01-02" }}</updated>
+ <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
<author><name>{{.Site.Params.Author}}</name></author>
{{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
<link href="{{ .Permalink }}"/>