docs: def last_year(date_):
      '''
      Returns the same date 1 year ago.
  
      Args:
          date (datetime or datetime.date)
      Returns:
          (datetime or datetime.date)
      Raises:
          -
      '''
      day = 28 if date_.day == 29 and date_.month == 2 else date_.day
      return datetime.date(date_.year-1, date_.month, day)