Go to file
Peter J. Holzer 9979ac8e2a Initial commit 2022-04-18 11:34:00 +00:00
src Initial commit 2022-04-18 11:34:00 +00:00
tests Initial commit 2022-04-18 11:34:00 +00:00
.gitignore Initial commit 2022-04-18 11:34:00 +00:00
README.md Initial commit 2022-04-18 11:34:00 +00:00

README.md

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.