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