#35443: Fix negative numbers for ordinals
-------------------------------------+-------------------------------------
Reporter: Siburg | Owner:
| S-Tornqvist, Crustum7
Type: Bug | Status: closed
Component: contrib.humanize | Version: dev
Severity: Normal | Resolution: fixed
Keywords: humanize ordinal | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83" d3a7ed5b]:
{{{#!CommitTicketReference repository=""
revision="d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83"
Fixed #35443 -- Changed ordinal to return negative numbers unchanged.
Previously, `-1` was converted to `"-1th"`. This has been updated to
return negative numbers "as is", so that for example `-1` is
converted to `"-1"`. This is now explicit in the docs.
Co-authored-by: Martin Jonson <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35443#comment:6>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018fb9422347-ee49a35c-141d-4003-938a-af3819ff596b-000000%40eu-central-1.amazonses.com.