Replace deprecated function.

This commit is contained in:
James Cole
2022-03-27 20:33:25 +02:00
parent cbf14f541c
commit 2be7813a67
40 changed files with 74 additions and 73 deletions

View File

@@ -37,11 +37,11 @@
<td data-value="{{ user.email }}">
<a href="{{ route('admin.users.show',user.id) }}">{{ user.email }}</a></td>
<td class="hidden-xs" data-value="{{ user.created_at.format('Y-m-d H-i-s') }}">
{{ user.created_at.formatLocalized(monthAndDayFormat) }}
{{ user.created_at.isoFormat(monthAndDayFormat) }}
{{ user.created_at.format('H:i') }}
</td>
<td class="hidden-xs" data-value="{{ user.updated_at.format('Y-m-d H-i-s') }}">
{{ user.updated_at.formatLocalized(monthAndDayFormat) }}
{{ user.updated_at.isoFormat(monthAndDayFormat) }}
{{ user.updated_at.format('H:i') }}
</td>
<td class="hidden-xs" data-value="{% if user.isAdmin %}1{% else %}0{% endif %}">

View File

@@ -25,7 +25,7 @@
<tr>
<td>{{ trans('list.created_at') }}</td>
<td>
{{ user.created_at.formatLocalized(monthAndDayFormat) }}
{{ user.created_at.isoFormat(monthAndDayFormat) }}
{{ user.created_at.format('H:i') }}</td>
</tr>
<tr>