1
0
mirror of https://github.com/django/django.git synced 2025-03-03 13:34:26 +00:00
django/tests/humanize_tests
Simon Törnqvist e65b7d5b06 [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.onson@gmail.com>

Backport of d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83 from main.
2024-06-14 13:53:43 +02:00
..