From f0d01e255bbe53bfd91ada17e67310af555a909b Mon Sep 17 00:00:00 2001 From: Daniel Serrano Date: Sun, 23 Jan 2022 17:17:55 +0100 Subject: [PATCH] Fix public API method that did not pass tests --- src/Humanizer/OrdinalizeExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Humanizer/OrdinalizeExtensions.cs b/src/Humanizer/OrdinalizeExtensions.cs index 54b96fe58..4353aee5a 100644 --- a/src/Humanizer/OrdinalizeExtensions.cs +++ b/src/Humanizer/OrdinalizeExtensions.cs @@ -136,7 +136,7 @@ public static string Ordinalize(this string numberString, GrammaticalGender gend /// The number ordinalized public static string Ordinalize(this string numberString, GrammaticalGender gender, CultureInfo culture, WordForm wordForm) { - return Configurator.Ordinalizers.ResolveForCulture(culture).Convert(int.Parse(numberString, culture), numberString, gender); + return Configurator.Ordinalizers.ResolveForCulture(culture).Convert(int.Parse(numberString, culture), numberString, gender, wordForm); } ///