Reblogged by isagalaev ("Ivan Sagalaev :flag_wbw:"):
raphael@mastodon.sdf.org ("Raphael") wrote:
Because it bears repeating: #python datetimes should always have timezone information it it. Always. Just put it in! It prevents so many bugs from happening
"I use UTC everywhere" Great! So you can just put UTC as the tz info!
(you are only exempted from this if you are processing 10k datetimes per second for some data analysis or something)