#28136: timesince() uses wrong plural form in Polish when the number is 14.
-----------------------------------------+------------------------
Reporter: RafaĆ P. | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Tested in version 1.11:
{{{
>>> 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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.92c50710abf86b09368b23e174e5c05a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.