Skip to content

Commit ff93bd8

Browse files
authored
Fix date range
Hacktoberfest
2 parents fe981dc + 2429ee0 commit ff93bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/user-stats.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@
105105
</tr>
106106
</thead>
107107
<tbody>
108-
{% for page in page_views_year %}
108+
{% for index, page in page_views_year %}
109109
<tr>
110-
<td>{{ page.createdAt|format_datetime('medium', 'medium', locale=app.request.locale) }}</td>
110+
<td data-sort="{{ index }}">{{ page.createdAt|format_datetime('medium', 'medium', locale=app.request.locale) }}</td>
111111
<td>
112112
{{ page.url|slice(0,50) }}{{ (page.url|length > 50) ? '...' }}
113113
</td>

0 commit comments

Comments
 (0)