mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 14:30:03 +01:00
update copyright filter
This commit is contained in:
parent
08499ce961
commit
5ea2dbf283
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue