• rtxn@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      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.