diff --git a/index.js b/index.js index da4d6c8..755da78 100644 --- a/index.js +++ b/index.js @@ -213,7 +213,7 @@ function getPostTitle(post) { } function getPostDate(post) { - return luxon.DateTime.fromRFC2822(post.pubDate[0], { zone: 'utc' }).toISO(); + return luxon.DateTime.fromRFC2822(post.pubDate[0], { zone: 'utc' }).toISODate(); } function getPostContent(post, turndownService) {