|
|
@ -30,11 +30,11 @@ class EventCalendar extends Model |
|
|
|
|
|
|
|
|
public function getStartTimeAttribute($value): string |
|
|
public function getStartTimeAttribute($value): string |
|
|
{ |
|
|
{ |
|
|
return get_datetime('date_time', strtotime($value)); |
|
|
return date('Y-m-d H:i', strtotime($value)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getEndTimeAttribute($value): string |
|
|
public function getEndTimeAttribute($value): string |
|
|
{ |
|
|
{ |
|
|
return get_datetime('date_time', strtotime($value)); |
|
|
return date('Y-m-d H:i', strtotime($value)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|