Matt wrote:
> The handy timesince filter, django.utils.timesince.timesince(d), uses
> 30 days to represent all months.  This leads to funny results when
> dealing with large timespans.  For example, my daughter was born on
> March 9th of this year and timesince says she is 7 months old today,
> instead of on the 9th.
> 
> I guess this is just supposed to be a fuzzy representation, but does
> anyone have ideas on a change to take actual months into account?
> 
> Thanks.
> 
> - matt
> 
> 

Maybe you could make another filter using this external library?
I'm not sure it would handle this, but its worth checking out.

http://www.egenix.com/files/python/mxDateTime.html#RelativeDateTime

Reply via email to