#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
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"e65b7d5b069a815a9a07f48219cd6bb9a4a663c1" e65b7d5]:
 {{{#!CommitTicketReference repository=""
 revision="e65b7d5b069a815a9a07f48219cd6bb9a4a663c1"
 [5.1.x] 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 <artin.on...@gmail.com>

 Backport of d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35443#comment:7>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019016b300f3-d08aeb27-e03c-473f-9780-0d6148a9e895-000000%40eu-central-1.amazonses.com.

Reply via email to