TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Semantics of timezone-aware datetime arithmetic
1 点
作者
gregsadetsky
大约 1 年前
1 comment
gregsadetsky
大约 1 年前
As 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 :-)