diff --git a/django/contrib/humanize/templatetags/humanize.py b/django/contrib/humanize/templatetags/humanize.py
index 7a2e514..18ec1a4 100644
a
|
b
|
def apnumber(value):
|
143 | 143 | return value |
144 | 144 | return (_('one'), _('two'), _('three'), _('four'), _('five'), _('six'), _('seven'), _('eight'), _('nine'))[value-1] |
145 | 145 | |
146 | | @register.filter |
| 146 | @register.filter(expects_localtime=True) |
147 | 147 | def naturalday(value, arg=None): |
148 | 148 | """ |
149 | 149 | For date values that are tomorrow, today or yesterday compared to |
… |
… |
def naturalday(value, arg=None):
|
169 | 169 | return _('yesterday') |
170 | 170 | return defaultfilters.date(value, arg) |
171 | 171 | |
172 | | @register.filter |
| 172 | @register.filter(expects_localtime=True) |
173 | 173 | def naturaltime(value): |
174 | 174 | """ |
175 | 175 | For date and time values shows how many seconds, minutes or hours ago |