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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user