Skip to content

Commit

Permalink
fix: fix deprecated date error
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull committed Oct 3, 2022
1 parent c32c660 commit aa090b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/_view.twig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<tr>
<td><strong>Date</strong></td>
<td>
{{ log.dateCreated }}
{{ "#{log.dateCreated|date('short')} #{log.dateCreated|time('short')}" }}
</td>
</tr>
<tr>
Expand Down Expand Up @@ -162,7 +162,7 @@
<td>{{ logEntry.getElementLink() }}</td>
<td>{{ logEntry.getUserLink() }}</td>
<td>{{ logEntry.ip }}</td>
<td>{{ logEntry.dateCreated }}</td>
<td>{{ "#{logEntry.dateCreated|date('short')} #{logEntry.dateCreated|time('short')}" }}</td>
<td>
<a href="{{ logEntry.getCpEditUrl() }}">&rarr;</a>
</td>
Expand Down Expand Up @@ -197,7 +197,7 @@
<td>{{ logEntry.getElementLink() }}</td>
<td>{{ logEntry.getUserLink() }}</td>
<td>{{ logEntry.ip }}</td>
<td>{{ logEntry.dateCreated }}</td>
<td>{{ "#{logEntry.dateCreated|date('short')} #{logEntry.dateCreated|time('short')}" }}</td>
<td>
<a href="{{ logEntry.getCpEditUrl() }}">&rarr;</a>
</td>
Expand Down

0 comments on commit aa090b0

Please sign in to comment.