Add a view helper for date formatting

This commit is contained in:
Rowan Manning
2013-09-16 10:26:21 +01:00
parent 188852129a
commit a7aad37ea0
5 changed files with 31 additions and 6 deletions

View File

@@ -2,10 +2,10 @@
<ul>
{{#results}}
<li>
<b>Date:</b> {{date}}<br/>
<b>Errors:</b> {{count.error}}<br/>
<b>Warnings:</b> {{count.warning}}<br/>
<b>Notices:</b> {{count.notice}}
<b>Date:</b> {{date-format date format="DD MMM YYYY"}}<br/>
<b>Errors:</b> {{count.error}}<br/>
<b>Warnings:</b> {{count.warning}}<br/>
<b>Notices:</b> {{count.notice}}
</li>
{{/results}}
</ul>