Humanizer
Humanizer copied to clipboard
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
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...
…ed logic to remove more than one decimal points if it occurs in a double Here is a checklist you should tick through before submitting a pull request: - [x]...
Hi! Love this library, especially the ease of turning numbers like `123122` into `123 k` But two major improvements would be greatly appreciated: 1) `.toMetric()` for `long` 2) ability to...
Hi, I'm looking for a way to leave & symbols alone? I'm trying to humanize: **Enable & Disable** and I'm getting **Enable disable** Thanks
Simply run this code: var kebabed = "some-text-here"; var camelized = kebabed.Camelize(); Console.WriteLine(camelized); // prints some-text-here instead of someTextHere var dotted = "some.text.here"; var camelized = dotted.Camelize(); Console.WriteLine(camelized); // prints...
fixes https://github.com/Humanizr/Humanizer/issues/1186 DateOnly has current date return 'today' Here is a checklist you should tick through before submitting a pull request: [x ] Implementation is clean [ x] Code adheres...
This PR is targeted for the v3 release, since it contains a breaking change in how the `ByteSize` calculates sizes. Until now, one kilobyte is considered to be 1024 bytes,...
Humanizer is a very string-heavy library. Since strings are immutable, this often ends up with a lot of strings on the heap for string transformations and parsing. Now that Span...
``` [xUnit.net 00:00:14.51] DefaultStrategy_HoursApart [FAIL] Failed DefaultStrategy_HoursApart [2 ms] Error Message: Assert.Equal() Failure: Strings differ ↓ (pos 1) Expected: "dans 12 heures" Actual: "demain" ↑ (pos 1) ```