From d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83 Mon Sep 17 00:00:00 2001 From: Simon Törnqvist Date: Thu, 16 May 2024 10:09:09 +0200 Subject: 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 --- docs/ref/contrib/humanize.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/ref/contrib/humanize.txt b/docs/ref/contrib/humanize.txt index 7c1af53ed3..1596f30b97 100644 --- a/docs/ref/contrib/humanize.txt +++ b/docs/ref/contrib/humanize.txt @@ -143,3 +143,4 @@ Examples: * ``3`` becomes ``3rd``. You can pass in either an integer or a string representation of an integer. +Negative integers are returned unchanged. -- cgit v1.3