Aligned export and revision shown date format

As raised in #2771
This commit is contained in:
Dan Brown 2021-05-30 00:02:32 +01:00
parent 57a063cdfb
commit c4f5ab12cf
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -4,13 +4,13 @@
@endif @endif
@icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [ @icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [
'timeLength' => $entity->created_at->toDayDateTimeString(), 'timeLength' => $entity->created_at->formatLocalized('%e %B %Y %H:%M:%S'),
'user' => e($entity->createdBy->name ?? ''), 'user' => e($entity->createdBy->name ?? ''),
]) !!} ]) !!}
<br> <br>
@icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [ @icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [
'timeLength' => $entity->updated_at->toDayDateTimeString(), 'timeLength' => $entity->updated_at->formatLocalized('%e %B %Y %H:%M:%S'),
'user' => e($entity->updatedBy->name ?? '') 'user' => e($entity->updatedBy->name ?? '')
]) !!} ]) !!}
</div> </div>