Skip to content

Commit

Permalink
Fix public API method that did not pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Serrano committed Jan 27, 2022
1 parent ef9133d commit f0d01e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Humanizer/OrdinalizeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static string Ordinalize(this string numberString, GrammaticalGender gend
/// <returns>The number ordinalized</returns>
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);
}

/// <summary>
Expand Down

0 comments on commit f0d01e2

Please sign in to comment.