title: Failed to parse time string after i changed language to Arabic
body: <p>am not a developer i dowloaded theme for WordPress but after i change the language to arabic i had this error message </p>
  
  <p>Uncaught Exception: DateTime::__construct(): Failed to parse time string (٢٠٢٠/٠٢/٠٦ ١٩:٣٠) at position 0 (�): Unexpected character in C:\xampp\htdocs\Carna2\wp-content\themes\motors\inc\woocommerce_setups_rental.php:928 Stack trace: #0</p>
  
  <p>here is code lines with error </p>
  
  <pre><code>/*$date1 = new DateTime(explode(' ', $values['pickup_date'])[0]);
      $date2 = new DateTime(explode(' ', $values['return_date'])[0]);
  
      $diff = $date2-&gt;diff($date1)-&gt;format("%a");*/
  
      $date1 = new DateTime( $values['calc_pickup_date'] );
      $date2 = new DateTime( $values['calc_return_date'] );
  
      $diff = $date2-&gt;diff( $date1 )-&gt;format( "%a.%h" );
  
      $hm = explode('.', $diff);
  </code></pre>
  
  <p>please keep in mind i dont  have any coding experience
  thnks </p>