you are viewing a single comment's thread
view the rest of the comments
[–] 26 points 1 year ago (2 children)

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.

  • source
  • parent
  • hideshow 2 child comments