snooze icon indicating copy to clipboard operation
snooze copied to clipboard

Add model date casts for Laravel 10

Open davidstoker opened this issue 1 year ago • 2 comments

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

davidstoker avatar Jun 30 '23 15:06 davidstoker

why is this not getting merged?

simonmaass avatar Sep 01 '23 11:09 simonmaass

Also waiting the merge

BosioGerman avatar Oct 04 '23 16:10 BosioGerman

Can't merge this as it's out of date, will PR in separate branch now.

atymic avatar Mar 20 '24 01:03 atymic