Renamed the human_date filter to smart_date.
This commit is contained in:
@ -25,7 +25,7 @@ register = template.Library()
|
||||
|
||||
|
||||
@register.filter(is_safe=True)
|
||||
def human_date(value):
|
||||
def smart_date(value):
|
||||
"""Formats the date for human friendliness.
|
||||
|
||||
Args:
|
||||
|
Reference in New Issue
Block a user