Skip to content

Commit d3409e0

Browse files
author
Marvin Kuhn
authored
Merge pull request #8 from markusguenther/formated_dates
New: Use translated date formats
2 parents 72d1109 + 7df3efd commit d3409e0

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)