Humanizer icon indicating copy to clipboard operation
Humanizer copied to clipboard

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities

Results 188 Humanizer issues
Sort by recently updated
recently updated
newest added

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...

"Short".Truncate(100, null); will throw exception: In the Truncate method this code casues error, because value is shorter than lenght and thus value.Substring(0, legth) throws exception https://github.com/Humanizr/Humanizer/blob/main/src/Humanizer/Truncation/FixedLengthTruncator.cs , line 21-26 if...

For the pluralizer, -1 must be treated the same as 1, i.e. "free session".ToQuantity(-1) must return "-1 free session"

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...

`lv` should be cahanged to `lt` https://github.com/Humanizr/Humanizer/blame/1dee67d72d53282aff76be8a2aaacc4a28ea6cbf/NuSpecs/Humanizer.Core.lt.nuspec#L15C15-L15C17

I expected the output of "S".Pluralize(false) to be "Ss", because I see "s" appended for other letters. e.g. "K".Pluralize(false) == "Ks" However, it throws an exception: System.IndexOutOfRangeException: Index was outside...

Suivez ce lien pour voir notre catalogue dans WhatsApp : https://wa.me/c/22893879898

I updated the Arabic representation of negative numbers from "ناقص" to "سالب" to provide a more accurate translation.