1
0

In rss.pug fixed date formatting.

This commit is contained in:
Alexander Andreev 2023-09-23 21:49:09 +04:00
parent 20729899b0
commit caf096c0f6
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -13,7 +13,7 @@ rss(version='2.0')
title= post.Title title= post.Title
category= post.Category.Name category= post.Category.Name
guid!= `${post.PostID()}` guid!= `${post.PostID()}`
pubDate= util.ToClientTimezone(post.Date, r).Format("20060102-150405") pubDate= util.ToClientTimezone(post.Date, r).Format(time.RFC1123Z)
| <link>#{host}/mindflow##{post.PostID()}</link> | <link>#{host}/mindflow##{post.PostID()}</link>
author!= author author!= author
description description