snooze
snooze copied to clipboard
Add model date casts for Laravel 10
Laravel 8 deprecated use of the $dates
property on Eloquent models and Laravel 10 removed use of it entirely in favor of $casts
. Add these casts to work with Laravel 10 and leave the existing $dates
property in place to allow compatibility with older Laravel versions.
Closes #111
why is this not getting merged?
Also waiting the merge
Can't merge this as it's out of date, will PR in separate branch now.