3 ms·
Semantics of timezone-aware datetime arithmetic
- gregsadetsky 3y agoAs DST is rolling around in a few hours, I was curious whether Python's `datetime.datetime` and `timedelta` would return the "right" thing i.e. I would be able to add 1 minute to 1:59am and get 3am. But it's not that easy :-)