change date format

This commit is contained in:
Adora Laura Kalb 2023-06-27 18:41:33 +02:00
parent 976731ca24
commit da1155d7c2
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -7,7 +7,7 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addFilter("timestamp", function(value) { 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 { return {