def to_natural_day(self, dt): day_str = day(dt) return self.strip_leading_zeros(day_str)
def day(value, now=None, format='%B %d'): '''Wrapper for :func:`natural.date.day`''' return date.day(value, now, format)