code: def naturaldate(value):
      
      try:
          value = date(value.year, value.month, value.day)
      except AttributeError:
          # Passed value wasn't date-ish
          return value
      except (OverflowError, ValueError):
          # Date arguments out of range
          return value
      delta = abs_timedelta(value - date.today())
      if delta.days >= 365:
          return naturalday(value, '%b %d %Y')
      return naturalday(value)
docs: Like naturalday, but will append a year for dates that are a year
      ago or more.