If the question is sent within 24 hours, I want to limit it to show the number of days, not the number of hours. Obviously, if you are under 24 hours, indicate the number of hours.
Currently: Question 1 day, 18 hours ago
Optimal: Answered 1 day ago
{{question.created|timesince}}
Still fairly new to Django, any help would be appreciated.
source
share