Skip to content

Commit 7df3efd

Browse files
author
Markus Günther
committed
New: Use translated date formats
The usage of formatCldr instead of plain format takes care of the localisation. fix #6
1 parent 72d1109 commit 7df3efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/Private/Fusion/Document/Post.fusion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ prototype(Breadlesscode.Blog:Document.Post) < prototype(Neos.Neos:Page) {
2727
createdBy = ${ author.label + ' &bull; ' }
2828
createdAt = Neos.Fusion:Tag {
2929
tagName = 'time'
30-
content = ${Date.format(q(node).property('datePublished'), 'r')}
30+
content = ${Date.formatCldr(q(node).property('datePublished'), 'E, dd. MMMM y H:mm:ss (zzzz)')}
3131
}
3232
}
3333
content.@process.wrapInParagraph = ${ '<p>' + value + '</p>' }

0 commit comments

Comments
 (0)