From da1155d7c2ff976ad79803504058ac582c51b7ab Mon Sep 17 00:00:00 2001 From: lauralani Date: Tue, 27 Jun 2023 18:41:33 +0200 Subject: [PATCH] change date format --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 891d16b..71e4918 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -7,7 +7,7 @@ module.exports = function(eleventyConfig) { eleventyConfig.addFilter("timestamp", function(value) { - return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL) + return DateTime.fromJSDate(value).toFormat('LLLL d, yyyy HH:mm ZZZZ') }); return {