how to fix DATETIME::__CONSTRUCT(): FAILED TO PARSE TIME STRING (::00) AT POSITION 0 (:): UNEXPECTED CHARACTER' IN code example
Example: Could not parse DateTime::__construct(): Failed to parse time string at position 0 (2): Unexpected character
laravel update updated_at when seconds are not available use :
Carbon::createFromFormat()
Example :
$request->filled('order_date') ?
Carbon::createFromFormat('d/m/Y H:i', $request->get('order_date')) : null,