From caf096c0f64c8c066b4e1890ff38eb26307c4a80 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 23 Sep 2023 21:49:09 +0400 Subject: [PATCH] In rss.pug fixed date formatting. --- web/templates/rss.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/rss.pug b/web/templates/rss.pug index 45be56e..5b268c2 100755 --- a/web/templates/rss.pug +++ b/web/templates/rss.pug @@ -13,7 +13,7 @@ rss(version='2.0') title= post.Title category= post.Category.Name guid!= `${post.PostID()}` - pubDate= util.ToClientTimezone(post.Date, r).Format("20060102-150405") + pubDate= util.ToClientTimezone(post.Date, r).Format(time.RFC1123Z) | #{host}/mindflow##{post.PostID()} author!= author description