Use date format without time

This commit is contained in:
Will Boyd
2018-11-27 16:41:38 -05:00
parent ebbc5298b8
commit 24e9a7cdfb
+1 -1
View File
@@ -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) {