Eloquent's date cast hides the time when you read a value, but saves it anyway. ...
Joel Clermont @jclermont@phpc.social
Eloquent's date cast hides the time when you read a value, but saves it anyway. If you're stuck with a DATETIME column, there's a small fix. #php #laravel https://masteringlaravel.io/daily/2026-10-20-making-eloquents-date-cast-strip-time-on-write