title: Convert string to date python strptime error
body: <p>I tried to convert this date string: Wed May 23 15:45:43 +0000 2018 to a python date object with strptime.
  I checked how I'm supposed to use it but I definitely don't understand where my problem is.</p>
  
  <p>I just tried this</p>
  
  <pre><code>date = datetime.strptime('Wed May 23 15:45:43 +0000 2018', '%a %b %d %x %z %Y')
  </code></pre>
  
  <p>It suppose to be in the right format but I got this error:</p>
  
  <pre><code>sre_constants.error: redefinition of group name 'd' as group 5; was group 3 at position 169
  </code></pre>
  
  <p>Does it mean that 23 isn't a %d format ?</p>
  
  <p>Thanks for your help</p>