Fix debug transaksi online error log page
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
@foreach ($logs as $log)
|
||||
<div class="bg-gray-600 text-white border-black p-0 pl-3 py-1 flex justify-between items-center">
|
||||
@php
|
||||
$formatTime = fn($x) => \Carbon\Carbon::parse($x, 'UTC')->setTimezone('Asia/Kuala_Lumpur')->format('d/m/Y g:i:s A');
|
||||
$formatTime = fn($x) => \Carbon\Carbon::createFromFormat('d/m/Y H:i:s', $x, 'UTC')->setTimezone('Asia/Kuala_Lumpur')->format('d/m/Y g:i:s A');
|
||||
@endphp
|
||||
<span>{{ $formatTime($log['created_at']) }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user