• rtxn@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month 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.