title: How to urlencode UTC datetime strings?
body: <p>I am using python's urllib.parse.urlencode to encode a request body to make a 'get' request for a url. I am running into trouble when encoding a UTC datetime string. </p>
  
  <p>The endpoints expects the date to look like: 
  <code>begin=2004-01-01T00:00:00&amp;end=2019-04-21T00:00:00</code></p>
  
  <p>but after using urlencode, the date payload looks like: 
  <code>begin=2020-02-04T17%3A00%3A00&amp;end=2020-02-04T20%3A00%3A00</code></p>
  
  <p>The format of the first half of the UTC datetime looks okay, (YYYY-MM-DDT), but second half is screwed up. It SHOULD look like <code>T00:00:00</code> but does not. </p>
  
  <p>I am passing a dictionary of parameters into the urlencode function:</p>
  
  <p><code>params = {
          'begin':'2020-02-04T17:00:00',
          'end':'2020-02-04T20:00:00',
  }
  return urlencode(params, doseq=True)
  </code>
  How can I encode the date in the correct format? Please let me know if there is anything else I can provide to help you all. Thank you.</p>