title: Bad directive in format '%' datetime.strptime
body: <p>When i try to change format of str to date time , i face ValueError,</p>
  
  <p>this may simple problem but cant find solution on google or stackoverflow too , i found some solution about 'z' is bad directive in format but not '%' one</p>
  
  <pre><code>current_session.date = datetime.strptime('2019-06-16 00:02', '%Y-%B-%d% %H:%M')
  
  
  
  Traceback (most recent call last):
    File "/home/rambod/PycharmProjects/mailWatcher/smtpINWatcher.py", line 92, in &lt;module&gt;
      current_session.date = datetime.strptime('2019-06-16 00:02', '%Y-%B-%d% %H:%M')
    File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
      tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    File "/usr/lib/python3.7/_strptime.py", line 351, in _strptime
      (bad_directive, format)) from None
  ValueError: '%' is a bad directive in format '%Y-%B-%d% %H:%M'
  </code></pre>