Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2018-09-29 20:22:44 +0300
committerJustin Berthault <justin.berthault@zaclys.net>2018-09-29 20:22:44 +0300
commitc316a164f81762599cc694bb278a2c38f6c187b8 (patch)
treec115bcb28c6e1e3046e455cfe260a89bc75de0ec /layouts/rss.xml
parentb353dc755ba8c77bd11d49b3a0a2a3a4ceceecd7 (diff)
Date again
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r--layouts/rss.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml
index 4aa772b..bad0a05 100644
--- a/layouts/rss.xml
+++ b/layouts/rss.xml
@@ -8,7 +8,7 @@
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
- <lastBuildDate>{{ dateFormat "02 Jan 06 15:04 +0100".Date.UTC }}</lastBuildDate>{{ end }}
+ <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
@@ -16,7 +16,7 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
- <pubDate>{{ dateFormat "02 Jan 06 15:04 +0100".Date.UTC }}</pubDate>
+ <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>