From 24e9a7cdfb098511e134fd565e383883f2641938 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Tue, 27 Nov 2018 16:41:38 -0500 Subject: [PATCH] Use date format without time --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {