On Tue, 2008-01-08 at 11:39 -0800, Joe Murphy wrote: > I was trying to run some comparisons in a template on a time, took a > look at the utils/timesince.py code, ran some more tests, read the > doco again, saw that the doco didn't mention timesince / timeuntil > handling time objects, and thought: Hey, I bet that was on purpose, > but maybe this was something that got overlooked. After that I > thought: Hey, why not post this on Django users?
It probably more or less is on purpose. Those filters are useful for displaying how long since (or until) a particular moment in time. A "time" object isn't specific enough, since it doesn't specify the day, so it isn't really a moment in time -- it's an infinite number of moments in time. Regards, Malcolm -- Always try to be modest and be proud of it! http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

