<p>Because it bears repeating: <a href="https://mastodon.sdf.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> datetimes should always have timezone information it it. Always. Just put it in! It prevents so many bugs from happening</p><p>&quot;I use UTC everywhere&quot; Great! So you can just put UTC as the tz info! </p><p>(you are only exempted from this if you are processing 10k datetimes per second for some data analysis or something)</p>
Reply