Humanizing the time difference ( in django )
django.contrib.humanize is a set of Django template filters that adds human touch to data. It provides naturalday filter that formats date to ‘yesterday’, ‘today’ or ‘tomorrow’ when applicable. A similar requirement which the humanize pacakge does not address is to display time difference with this human touch. so here is a snippet that does so. [...]
Tagged django, filters, humanize, python


