code: def abs_timedelta(delta):
      
      if delta.days < 0:
          now = _now()
          return now - (now + delta)
      return delta
docs: Returns an "absolute" value for a timedelta, always representing a
      time distance.