title: How to handle spelled out days in strptime
body: <p>I have an array of dates that is formatted like so:</p>
  <pre><code>['October 22nd, 2019', 'February 8th, 2020', 'July 31st, 2020', 'September 21st, 2020', ...]
  </code></pre>
  <p>I'd like to turn it into datetime objects using strptime, but I can't figure out how to hand the spelled out parts of the days, e.g. <code>22nd</code> or <code>8th</code> and it doesn't say in <a href="https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes" rel="nofollow noreferrer">the format documentation</a>.</p>
  <p>The following works when there's no written out part of the day:</p>
  <pre><code>from datetime import datetime
  dt_obj = datetime.striptime('October 22, 2019', '&amp;B &amp;d, &amp;Y')
  </code></pre>
  <p>But I can't figure out how to parse a string that has the day written out:</p>
  <pre><code>in: dt_obj = datetime.striptime('October 22nd, 2019', '&amp;B &amp;d, &amp;Y')
  out: ValueError: time data 'October 22nd, 2019' does not match format '%B %d, %Y'
  </code></pre>
  <p>What's the proper format for this? Thank you!</p>