Is there a way to use the {{date|timesince}} filter, but instead of having two adjacent units, only display one?
For example, my template is currently displaying “18 hours, 16 minutes”. How would I get it to display “18 hours”? (Rounding is not a concern here.) Thank you.
I can’t think of a simple builtin way to do this. Here’s a custom filter I’ve sometimes found useful:
Then you could just do