jmoiron/humanize — pull request #20 by vinu76jsr (2014-09-17 20:56:30+00:00)
Title: Adding support for natural date conversion with always returning year

The functionality would be like this.

```bash
>>> import datetime
>>> humanize.naturalday(datetime.datetime.now())
'today'
>>> humanize.naturalday(datetime.datetime.now(), with_year=True)
'Sep 17 2014'
>>> humanize.naturalday(datetime.datetime.now() - datetime.timedelta(days=1))
'yesterday'
>>> humanize.naturalday(datetime.datetime.now() - datetime.timedelta(days=1), with_year=True)
'Sep 16 2014'
>>> humanize.naturalday(datetime.date(2007, 6, 5))
'Jun 05'
>>> humanize.naturalday(datetime.date(2007, 6, 5), with_year=True)
'Jun 05 2007'
```

you just need to pass with_year argument to force a return of readable date instead of yesterday.