diff --git a/.eleventy.js b/.eleventy.js index 0a80f32..68732e8 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -15,6 +15,8 @@ module.exports = function (eleventyConfig) { "node_modules/simpledotcss/simple.css": "css/simple.css", }); + eleventyConfig.addFilter("stringToDate", function (value) { + return new Date(value); }); eleventyConfig.addFilter("formatDatetimeForHumans", function (value) { const dt = new Date(value);