diff options
Diffstat (limited to 'website/src/pages')
| -rw-r--r-- | website/src/pages/blog/rss.xml.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/src/pages/blog/rss.xml.ts b/website/src/pages/blog/rss.xml.ts index 9e65a04..afd0640 100644 --- a/website/src/pages/blog/rss.xml.ts +++ b/website/src/pages/blog/rss.xml.ts @@ -26,7 +26,7 @@ export async function GET(context: APIContext) { link: `/blog/${post.slug}`, title: post.data.title, content: mdParser.render(post.body), - pubDate: new Date(`${post.data.pubDate.year}-${post.data.pubDate.month}-${post.data.pubDate.day}`), + pubDate: post.data.pubDate, description: post.data.description, author: 'Joe Carstairs', |
