11 lines
375 B
Markdown
11 lines
375 B
Markdown
|
timedeltacal
|
||
|
============
|
||
|
|
||
|
A "calendaric" alternative to datetime.timedelta.
|
||
|
|
||
|
It adds months as a basic unit (since a month has a variable number of
|
||
|
days) and doesn't normalize hours to days (since a day has a variable
|
||
|
number of hours, so 1 day is not always the same as 24 hours).
|
||
|
This should align better with user's expecations for arithmetic on
|
||
|
timezone aware datetimes.
|