#12194: PROPOSAL: Add a time difference filter to django.contrib.humanize
-----------------------------+----------------------------------------------
Reporter: stemmetje | Owner: nobody
Status: new | Milestone: 1.2
Component: Template system | Version: SVN
Keywords: filter humanize | Stage: Unreviewed
Has_patch: 1 |
-----------------------------+----------------------------------------------
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'.
--
Ticket URL: <
http://code.djangoproject.com/ticket/12194>
Django <
http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django updates" group.
To post to this group, send email to
django-updates@...
To unsubscribe from this group, send email to
django-updates+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en-~----------~----~----~----~------~----~------~--~---