fix:일정 날짜 UTC/KST 시차 오류 수정

- date 캐스트에 Y-m-d 포맷 지정하여 JSON 직렬화 시 UTC 변환 방지
- 달력 12일 일정이 모달에서 11일로 표시되던 문제 해결

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-10 20:55:52 +09:00
parent 2305f34026
commit c0fe7edc0f

View File

@@ -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',