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
|
||||
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)
|
||||
| <link>#{host}/mindflow##{post.PostID()}</link>
|
||||
author!= author
|
||||
description
|
||||
|
Loading…
Reference in New Issue
Block a user