From cf3a94794b7da48e8d59079107749b07bffbef1b Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Fri, 7 Aug 2026 14:45:58 +0700 Subject: [PATCH] =?UTF-8?q?fix(sp-letters):=20tanggal=20pelanggaran=20diko?= =?UTF-8?q?nversi=20ke=20Asia/Jakarta=20sebelum=20format=20=E2=80=94=20ceg?= =?UTF-8?q?ah=20geser=20-1=20hari=20(snapshot=20tersimpan=20UTC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/sp-letters/print.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/sp-letters/print.blade.php b/resources/views/sp-letters/print.blade.php index a797b7e..93e972d 100644 --- a/resources/views/sp-letters/print.blade.php +++ b/resources/views/sp-letters/print.blade.php @@ -92,7 +92,7 @@ @foreach($violations as $v) - {{ \Carbon\Carbon::parse($v['violation_date'] ?? now())->locale('id')->isoFormat('dddd, DD MMMM Y') }} + {{ \Carbon\Carbon::parse($v['violation_date'] ?? now())->setTimezone('Asia/Jakarta')->locale('id')->isoFormat('dddd, DD MMMM Y') }} {{ $v['description'] ?? '-' }} {{ $v['points'] ?? 0 }}