Humanizer
Humanizer copied to clipboard
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.1.0 to 17.3.0. Release notes Sourced from Microsoft.NET.Test.Sdk's releases. v17.3.0 See the release notes here. v17.3.0-preview-20220612-01 See the release notes here. v17.3.0-preview-20220530-08 See the release notes here....
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.4.255 to 3.5.109. Release notes Sourced from Nerdbank.GitVersioning's releases. v3.5.108 Changes: #777: Bump Newtonsoft.Json from 9.0.1 to 13.0.1 in /src/NerdBank.GitVersioning This list of changes was auto generated....
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.1 to 2.4.2. Commits f110e5b v2.4.2 848d94d Update dependencies 42307e8 Fixes #2556: Xunit.Sdk.MultipleException Empty 7eba502 Port test changes from 1dd43ce684cc6d50bf726042173956e6bda2fa3b 211aa27 Make sure we use msbuild.exe (from...
Fixes #1159 BulgarianNumberToWordsConverter.cs localisation issue Here is a checklist you should tick through before submitting a pull request: - [x] Implementation is clean - [x] Code adheres to the existing...
I'm using Humanizer to show a human-readable time of posting a forum thread, like so: ```cshtml @Model.CreationDate.Humanize(culture: CultureInfo.InvariantCulture) ``` Both `.ToString()` and `.Humanize()` use `CultureInfo.InvariantCulture`. My system clock right now...
I suggest working on humanizing exceptions in different languages based on current culture so there is no need for developers to convert exceptions to human-readable text
Fixes #1126 . Starting with .NET 6, when `InvariantGlobalization` is enabled, `CultureInfo` constructor throws `CultureNotFoundException` for all cultures except invariant: https://docs.microsoft.com/en-us/dotnet/core/compatibility/globalization/6.0/culture-creation-invariant-mode * Handle `CultureNotFoundException` when creating the default formatter. *...
An exception is thrown when using the 'hr' culture. `The resource object with key 'DateHumanize_MultipleDaysFromNow' was not found Parameter name: resourceKey` ``` System.ArgumentException: at Humanizer.Localisation.Formatters.DefaultFormatter.Format (Humanizer, Version=2.14.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e: /_/src/Humanizer/Localisation/Formatters/DefaultFormatter.cs:137)...
I am using the Humanizer.core in .NET Core 6 RC1 in Blazor WASM App. This is what is throwing error in .razor page. @searchResult.AlerSentTime?.Humanize(culture:CultureInfo.InvariantCulture); ``` Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component:...
I have a Xamarin.Forms solution ( Android, iOS and UWP ) that I have used Humanizer within for a very long time with no issues. Used NuGet Package Manager to...