Humanizer
Humanizer copied to clipboard
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
When I try to use ToWords method on a number with 5 digits (Ex. 15200) addAnd on portuguese doesn't seems to work. Example: 15200.ToWords(true); Output: "quinze mil duzentos" Expected: "quinze...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5. Release notes Sourced from xunit.runner.visualstudio's releases. v2.4.4.1 Changes: Bugs: #292: Fixing a hang in test discovery Others: #304: Update xunit version to 2.4.2-pre.12 #297:...
Is there a way to specify "1 hour ago" instead of "an hour ago"? I could simply .Replace() but I wanted to see if I'm missing something...
FarsiNumberToWordsConverter does not support long. It is limited to int32 https://github.com/Humanizr/Humanizer/blob/main/src/Humanizer/Localisation/NumberToWords/FarsiNumberToWordsConverter.cs#L14
sorry I tried looking if this was already answered but my github search foo sucks (tips appreciated) wondering if theres a way I can chain multiple humanizer extension actions. I...
Here is a checklist you should tick through before submitting a pull request: - [x] Implementation is clean - [x] Code adheres to the existing coding standards; e.g. no curlies...
Fixes #571 Fixes #642 Fixes #969 Based on [`HeadingStyle`](https://github.com/Humanizr/Humanizer/blob/main/src/Humanizer/HeadingExtensions.cs) (although that's inconsistent with [`WordForm`](https://github.com/Humanizr/Humanizer/blob/main/src/Humanizer/WordForm.cs)). Replace `timeSpan.Humanize(toWords: true)` with `timeSpan.Humanize(timeSpanStyle: TimeSpanStyle.Words)`. **This is a breaking change.** `timeSpan.Humanize()` remains unchanged, although the...
This PR puts the build back to use `dotnet build` instead of `vsbuild`. It demonstrates the error that is caused by https://github.com/dotnet/msbuild/issues/7331 This PR can be merged once the above...
Here is a checklist you should tick through before submitting a pull request: - [X] Implementation is clean - [X] Code adheres to the existing coding standards; e.g. no curlies...
When I use `DateOnly` and want to put this into a readable form with Humanizer, I get the error that _"2 months ago"_ comes out for `DateTime.MinValue`. If I use...