Y
Hacker News
new
|
ask
|
show
|
jobs
by
progval
2298 days ago
I was about to ask why you didn't use a timedelta, and then found out that datetime.timedelta doesn't support anything greater than week.
It also has this incorrect example:
https://docs.python.org/3/library/datetime.html#examples-of-...