diff --git a/.eleventy.js b/.eleventy.js index 5133060..d4c4457 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -11,7 +11,7 @@ module.exports = function(eleventyConfig) { }); eleventyConfig.addFilter("copyrightyear", function(value) { - return DateTime.Now().toLocaleString({ year: 'numeric'}) + return DateTime.fromJSDate(value).toLocaleString({ year: 'numeric'}) }); return {