timedelta marks time in days, seconds, and microseconds. It doesn't take leap years into account because the concept of years is irrelevant to timedelta. If you need to account for leap years, you need a different API.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: