title: Carbon - "The date does not match the format d/m/Y H:i:s."
body: <p>'m trying to store a date value but is always appearing the validation error:</p>
  
  <pre><code>"The date does not match the format d/m/Y H:i:s."
  </code></pre>
  
  <p>Do you know where can be the issue? Validate method:</p>
  
  <pre><code>$this-&gt;validate($request, [
        'date1' =&gt; 'required|date_format:d/m/Y H:i:s',
        'date2' =&gt; 'required|date_format:d/m/Y H:i:s|after_or_equal:date1',
   ]);
  </code></pre>
  
  <p><strong>To create Im using carbon to format the dates:</strong></p>
  
  <pre><code> Carbon::createFromFormat('d/m/Y H:i:s', $request-&gt;date1)
  Carbon::createFromFormat('d/m/Y H:i:s', $request-&gt;date2)
  </code></pre>
  
  <p><strong>The Js code is:</strong></p>
  
  <pre><code>$( ".input-group.date").datetimepicker({
          format: "dd MM yyyy - hh:ii",
          autoclose: true,
          todayBtn: true,
          minuteStep: 5
      });
  </code></pre>