5 lines
180 B
JavaScript
5 lines
180 B
JavaScript
module.exports = function(eleventyConfig) {
|
|
eleventyConfig.addFilter('dateDisplay', date => new Date(date).toLocaleDateString('en-GB', {
|
|
"dateStyle": "short"
|
|
}));
|
|
} |