We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fact] [UseCulture("da")] public void CanParseLocalizedAbbreviation() { const double heading = 22.5; var abbreviation = heading.ToHeading(); var actual = abbreviation.FromAbbreviatedHeading(); Assert.Equal(heading, actual); }
This test fails as of 5c3b134, because FromAbbreviatedHeading only ever looks up the abbreviated heading in the English base array:
FromAbbreviatedHeading
Humanizer/src/Humanizer/HeadingExtensions.cs
Line 76 in 12cc400
"NNØ"
en
The text was updated successfully, but these errors were encountered:
Implement FromAbbreviatedHeading for localized values
b13a0a4
Fixes Humanizr#1103
Successfully merging a pull request may close this issue.
This test fails as of 5c3b134, because
FromAbbreviatedHeading
only ever looks up the abbreviated heading in the English base array:Humanizer/src/Humanizer/HeadingExtensions.cs
Line 76 in 12cc400
"NNØ"
is not used. The test works well for theen
locale.The text was updated successfully, but these errors were encountered: