X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEvent.php;h=b566dbb5553925e36ba26bba2ce7ae44ad3d1964;hb=15132749249f6418fd5695547b5c323a0ad10939;hp=44bc69be067f3722f0bb6e9b8b37a94147becb3d;hpb=847969157063510460a48eba4bedfcce1caa7902;p=alttp.git diff --git a/app/Models/Event.php b/app/Models/Event.php index 44bc69b..b566dbb 100644 --- a/app/Models/Event.php +++ b/app/Models/Event.php @@ -15,7 +15,14 @@ class Event extends Model } protected $casts = [ + 'end' => 'datetime', + 'start' => 'datetime', 'visible' => 'boolean', ]; + protected $hidden = [ + 'created_at', + 'updated_at', + ]; + }