Skip to content

Commit

Permalink
Merge pull request #8 from markusguenther/formated_dates
Browse files Browse the repository at this point in the history
New: Use translated date formats
  • Loading branch information
Marvin Kuhn authored Oct 11, 2018
2 parents 72d1109 + 7df3efd commit d3409e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Document/Post.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ prototype(Breadlesscode.Blog:Document.Post) < prototype(Neos.Neos:Page) {
createdBy = ${ author.label + ' &bull; ' }
createdAt = Neos.Fusion:Tag {
tagName = 'time'
content = ${Date.format(q(node).property('datePublished'), 'r')}
content = ${Date.formatCldr(q(node).property('datePublished'), 'E, dd. MMMM y H:mm:ss (zzzz)')}
}
}
content.@process.wrapInParagraph = ${ '<p>' + value + '</p>' }
Expand Down

0 comments on commit d3409e0

Please sign in to comment.