Use Carbon for converting timestamps to something readable
MODIFY
composer.json
composer.json
"fideloper/proxy": "^4.0",
"intervention/image": "^2.4",
"laravel/framework": "5.6.*",
- "laravel/tinker": "~1.0"
+ "laravel/tinker": "~1.0",
+ "nesbot/carbon": "1.25"
},
"require-dev": {
"filp/whoops": "~2.0",

MODIFY
composer.lock
composer.lock
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "849b7f8f54e92067d08fcfa2a1e6220a",
+ "content-hash": "d6fec4b94dd452da30498b640875bcb7",
"packages": [
{
"name": "dnoegel/php-xdg-base-dir",

MODIFY
resources/views/notifications/index.blade.php
resources/views/notifications/index.blade.php
@foreach ($notifications as $notification)
<div class="box__section row">
<div class="row__column">{{ __('notifications.' . $notification->action) }}</div>
- <div class="row__column">{{ $notification->created_at }}</div>
+ <div class="row__column">{{ $notification->created_at->diffForHumans() }}</div>
</div>
@endforeach
</div>

Use Carbon for converting timestamps to something readable