diff --git a/config/dateFilters.js b/config/dateFilters.js index 64dc82ba..172a628f 100644 --- a/config/dateFilters.js +++ b/config/dateFilters.js @@ -1,6 +1,9 @@ const { DateTime } = require('luxon') module.exports = { + readableDate: (date) => { + return DateTime.fromISO(date).toFormat('LLLL d, yyyy') + }, dateForFeed: (date) => { return new Date(date).toISOString() }, diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index 0ae4155d..ef311dc3 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -97,8 +97,9 @@ layout: main