Re: How to get timeuntil tag to display minutes?
Not simply. The design of the tag to drop smaller time frames the
further out you are.
The source is all there for you to copy and modify into your own
custom filter, but that may be more than you want to bother with...
-Preston
On Dec 4, 3:22 pm, Continuation <selforgani...@gmail.com> wrote:
> I use the timeuntil tag in my template:
>
> (( object.end_time|timeuntil }}
>
> where end_time is a DateTimeField.
>
> What I got is output like "2 days, 23 hours"
>
> Is there any way to get timeuntil to display minutes as well?
>
> Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home