hangy
hangy
Can you share a little bit more about the project? Are you able to install any other dependencies from NuGet.org? This very simple repo works (with .NET 5): https://dotnetfiddle.net/ZJVI3f
I like the idea! I found a few dedicated libraries that do this: - [natural-sort on GitHub](https://github.com/drewnoakes/natural-sort) (Apache-2.0 License) - [NaturalStringComparer on GitHub](https://github.com/GihanSoft/NaturalStringComparer) (MIT License) - [Thomas Levesque on StackOverflow](https://stackoverflow.com/a/66354540/11963)...
Could you check if the string contains any spaces to avoid dehumanizing this case? The dehumanize method doesn't allow any customization (as far as I can see), and basically tries...
This is obviously a breaking change, as callers may depend upon the KB values being based on 1024 Bytes instead of 1000 Bytes for whatever calculations. But it could be...
From my understanding, the required rules would be pretty complex (even though it's only applicable to English locales), because the prefix is based on pronunciation, so that the same word...
It really shouldn't as it's already added as an exception: https://github.com/Humanizr/Humanizer/blob/896ded1c66c48f9d77ab2cb985cfa41e427f874e/src/Humanizer.Tests.Shared/InflectorTests.cs#L304 Do you remember which version of Humanizer you tested this in?
The Humanizer NuGet package alwayas pulls all languages. If you only need specific languages, you can use that specific NuGet package only: https://github.com/Humanizr/Humanizer/blob/5c3b1341d8fafaea4a9997fae03191548f9c8656/readme.md#specify-lang
I agree. Just for completeness: https://github.com/Humanizr/Humanizer/blob/937e827b8d664ce800b31160e51e8b2eca95fadc/src/Humanizer.Tests.Shared/DateOnlyHumanizeTests.cs#L36 Should this also be "one month from today" instead? The precision is the same as "now" vs. "today".
https://github.com/Humanizr/Humanizer/blob/937e827b8d664ce800b31160e51e8b2eca95fadc/src/Humanizer/DateTimeHumanizeStrategy/DateTimeHumanizeAlgorithms.cs#L158-L163 Does this need to use `DayNumber` instead of `DayOfYear`? I have a feeling that the current code doesn't work well with >1 year differences.
Probably related to #1186 or solved by it, if it gets a new implementation.