PROPOSAL: Add a time difference filter to django.contrib.humanize
|Reported by:||stemmetje||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I propose we add a time difference filter to the filters available in django.contrib.humanize. The filter would act on a given time, date or datetime object and compare it another time, date or datetime object or to datetime.datetime.now() if no argument is given. The time difference between the two objects would then be expressed in a human-friendly manner such as 'about 1 minute' or 'about 1 month'.