@foreach($data['slider']['bottom'] as $item)
@php
$dt = new DateTime;
$dt->setDate(\Carbon\Carbon::parse($item->created_at)->format('Y'),\Carbon\Carbon::parse($item->created_at)->format('m'),\Carbon\Carbon::parse($item->created_at)->format('d'));
$dt->setTime(\Carbon\Carbon::parse($item->created_at)->format('H'),\Carbon\Carbon::parse($item->created_at)->format('i'));
$formatter = new IntlDateFormatter(\Illuminate\Support\Facades\Cookie::get('lang'), IntlDateFormatter::SHORT, IntlDateFormatter::SHORT);
$formatter->setPattern('MMM d, y');
@endphp
@endforeach