Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
With Laravel 10 the ->format('m/d/Y'), will not work. I am getting a error, however when I remove it postman works with no error Not shour why this is happing.
"message": "Call to a member function format() on string","exception": "Error","file": "C:\\xampp\\htdocs\\lvdy\\project1\\app\\Http\\Resources\\TransactionResource.php","line": 22,
Yes, Laravel deprecated the $dates in favor of $casts: https://laraveldaily.com/post/laravel-datetime-to-carbon-dates-casts
$dates
$casts
Unfortunately I can't reshoot the course/video for it, partially why I decided to write text-form courses more, to be easier to edit in the future.
With Laravel 10 the ->format('m/d/Y'), will not work. I am getting a error, however when I remove it postman works with no error Not shour why this is happing.
Yes, Laravel deprecated the
$datesin favor of$casts: https://laraveldaily.com/post/laravel-datetime-to-carbon-dates-castsUnfortunately I can't reshoot the course/video for it, partially why I decided to write text-form courses more, to be easier to edit in the future.