From c0fe7edc0ffc41fb46c78de8bf600544f12bbcde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Tue, 10 Feb 2026 20:55:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EC=9D=BC=EC=A0=95=20=EB=82=A0=EC=A7=9C=20U?= =?UTF-8?q?TC/KST=20=EC=8B=9C=EC=B0=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - date 캐스트에 Y-m-d 포맷 지정하여 JSON 직렬화 시 UTC 변환 방지 - 달력 12일 일정이 모달에서 11일로 표시되던 문제 해결 Co-Authored-By: Claude Opus 4.6 --- app/Models/System/Schedule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/System/Schedule.php b/app/Models/System/Schedule.php index 1d49b0d0..a2ae3ec6 100644 --- a/app/Models/System/Schedule.php +++ b/app/Models/System/Schedule.php @@ -32,8 +32,8 @@ class Schedule extends Model ]; protected $casts = [ - 'start_date' => 'date', - 'end_date' => 'date', + 'start_date' => 'date:Y-m-d', + 'end_date' => 'date:Y-m-d', 'is_all_day' => 'boolean', 'is_recurring' => 'boolean', 'is_active' => 'boolean',