X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEvent.php;h=b566dbb5553925e36ba26bba2ce7ae44ad3d1964;hb=343b423a42670ec21cdb95025020264346ad62fb;hp=44bc69be067f3722f0bb6e9b8b37a94147becb3d;hpb=071885a30f24b980699b337d9cdb65952f8c6c42;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', + ]; + }