mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-23 20:50:40 +01:00
change date format
This commit is contained in:
parent
976731ca24
commit
da1155d7c2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue