In rss.pug fixed date formatting.
This commit is contained in:
parent
20729899b0
commit
caf096c0f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user