title: How do I print a datetime in the local timezone?
body: <p>Let's say I have a variable t that's set to this:</p>
  
  <pre><code>datetime.datetime(2009, 7, 10, 18, 44, 59, 193982, tzinfo=&lt;UTC&gt;)
  </code></pre>
  
  <p>If I say <code>str(t)</code>, i get:</p>
  
  <pre><code>'2009-07-10 18:44:59.193982+00:00'
  </code></pre>
  
  <p>How can I get a similar string, except printed in the local timezone rather than UTC?</p>