title: Problem when checking expiration date using json date
body: <p>Problem when checking expiration date using json date.</p>
  
  <p>Where am I going wrong?</p>
  
  <pre><code>from datetime import datetime, date
  datet = '2019-06-12T00:00:00+00:00'
  
  ExpirationDate = datetime.strptime(datet, "%Y-%m-%dT%H:%M:%S.%f")
  now = datetime.now()
  if ExpirationDate &gt;= now:
    print("ok")
  </code></pre>
  
  <pre><code>Traceback (most recent call last):   File "main.py", line 4, in &lt;module&gt;
      ExpirationDate = datetime.strptime(datet, "%Y-%m-%dT%H:%M:%S.%f")   File "/usr/local/lib/python3.6/_strptime.py", line 565, in
  _strptime_datetime
      tt, fraction = _strptime(data_string, format)   File "/usr/local/lib/python3.6/_strptime.py", line 362, in _strptime
      (data_string, format)) ValueError: time data '2019-06-12T00:00:00+00:00' does not matchformat '%Y-%m-%dT%H:%M:%S.%f'
  </code></pre>