{{{
>>> from datetime import timedelta
>>> from django.utils import translation
>>> from django.utils.timezone import now
>>> from django.utils.timesince import timesince
>>> translation.activate('pl')
>>> timesince(now() - timedelta(minutes=14))
'14\xa0minuty'
}}}
The result should be '14\xa0minut'. In version 1.10.6 the above code works
as expected.
--
Ticket URL: <https://code.djangoproject.com/ticket/28136>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* component: Uncategorized => Internationalization
* resolution: => invalid
Comment:
Looks like you'll need to suggest reverting the change on
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations
Transifex] (translations aren't handled in this ticket tracker). This
change came in during the Django 1.11 translations update,
96ec72e298cd359648e1cf408d3c506ee3b1f297.
--
Ticket URL: <https://code.djangoproject.com/ticket/28136#comment:1>