Cast all date values as it was performed here: https://github.com/laravel/framework/pull/26985