mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Add a view helper for date formatting
This commit is contained in:
@@ -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>
|
||||
|
@@ -7,8 +7,9 @@
|
||||
{{url}} ({{standard}})
|
||||
|
||||
{{#last_result}}
|
||||
<br/>Last run: {{date}}
|
||||
<br/>Errors: {{count.error}}
|
||||
<br/>
|
||||
Last run: {{date-format date format="DD MMM YYYY"}}<br/>
|
||||
Errors: {{count.error}}
|
||||
{{/last_result}}
|
||||
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user