- #634 - Added support for Greek language in resources contributed by Christos Matskas (cmatskas)
- #633 - #632 Continued: Fuzzy month years logic for time span humanize extensions contributed by Oren Novotny (onovotny) +enhancement
- #632 - Fuzzy month years logic for time span humanize extensions contributed by Martin Strecker (MaStr11)
- #631 - Latvian localization contributed by Dmitry Bogatykh (bogatykh)
- #630 - billions and millions greater than 2 contributed by Rafael Bianchi (rafaellfontana)
- #628 - IsDefined is prefered contributed by Shimmy (weitzhandler)
- #623 - Wrongful commit to master. What to do?
- #620 - Double Barrel Name conversion
- #619 - Update readme.md contributed by Tyler Brinkley (TylerBrinkley)
- #617 - issue 611: added the method Kebaberize contributed by (klaus78)
- #616 - English verb (Past Participle) tense conversion "x" => "xed" feasibility?
- #613 - Humanizer.Core not working correctly, show localized strings instead of english
- #612 - Added Swedish collection formatter contributed by Māris Brenčuks (brencuks)
- #610 - adding parameter decimals toMetric(). Fixes #609 contributed by (klaus78)
- #609 - add .ToMetric() rounding +enhancement
- #608 - 605: Fix enum no display attrib contributed by Thomas Bo Nielsen (basildk)
- #605 - enum with DisplayAttribute but no Description attribute fails +fix
- #603 - Syntax correction in readme.md contributed by Brian MacKay (kinetiq)
- #602 - Register Portuguese translations as
pt
contributed by (hangy) - #601 - Humanize pt-PT problem
- #600 - Revert "Add Esperanto support to NumberToWords. Fixes #558" contributed by Oren Novotny (onovotny)
- #598 - Workaround for Croatian TimeSpan localization bug contributed by (hangy)
- #597 - Croatian localization of TimeSpan fails with >1 day
- #596 - Can not add Humanizer 2.1.0 in Class library (.Net Core)
- #595 - Add new overload for Ordinalize that accepts a CultureInfo contributed by Thijs Brobbel (tiesmaster)
- #590 - English contributed by (stevotennis)
- #589 - Fix CONTRIBUTING.md of broken links. contributed by Sho Sato (cssho)
- #588 - Add resource value validation for DefaultFormatter contributed by Krisztián Bodrogi (Chrissx)
- #586 - added translation for DateHumanize_Now contributed by Daniel Katz (danielkatz)
- #583 - TimeSpan.Humanize does not behave as expected +enhancement
- #582 - Pass through the content of the "Letter, other" Unicode category. contributed by (hangy)
- #581 - Fix misspelling contributed by Cameron Sjo (cameron-sjo)
- #578 - .Humanize() on "Arabic" letters returns empty string (or any other casing)
- #577 - .NET Core 1.0 Support?
- #576 - Fixed incorrect locale in readme contributed by (fishchisel)
- #575 - not installable for projects that targets .NET client profile
- #574 - Difference Dasherize and Hyphenate
- #573 - Humanizer.Core 2.1.0 breaks compatibility with PCL Profile 259
- #569 - Add Esperanto support to NumberToWords. Fixes #558 contributed by Alois (aloisdg)
- #558 - Add Esperanto support for NumberToWords
- #504 - Add support for long to ToQuantity contributed by Robert Pethick (RobPethick) +enhancement
- #503 - ToQuantity does not support long quantities +enhancement
- #500 - Add ToOrdinalWords extension with gender overload contributed by Robert Pethick (RobPethick)
- #328 - Ordinal number suffixes
- #520 Humanizer.Core package does not install on Xamarin
- #507 Remove obsolete members
- #517 Allow formatted byte size when humanizing
ByteRate
- #497 Add option to customize list of time indicators of humanized timespans
- #59 Getting only needed resources on nuget install
- #101 Add precision to DateTime.Humanize
- #234 Remove Plurality enum
- #238 Change DefaultDateTimeHumanizeStrategy to turn 60 min to one hour not 45
- #470 & #492: Build warning fixes
- #451: Support
dotnet
TFM. Includes support for CoreCLR - #465: Dropped .NET 4 and Silverlight 5 support.
- #462: Implemented Spanish cardinal feminines
- #459: Add support of metric numeral expressions
- Enable source debugging via GitLink
- #416: Change BrazilianPortugueseOrdinalizer to PortugueseOrdinalizer
- #419: Added Dutch Ordinalizer
- #432: Added the 'xunit.runner.visualstudio' nuget package to the test project
- #431: Added build target for .NET 4.0 Client Profile
- #435: Added Afrikaans localization
- #438: Fixed the bug with negative TimeSpan Humanize
- #421 & #425: Fixed StringExentions -> StringExtensions
- #403: Added TimeSpan minUnit option
- #417: Support for Serbian language, ToWords()
- #414: Add Ukraininan language
- #408: Added support for adding/removing rules from singular/pluralization by adding
Vocabulary
class andVocabularies.Default
- #399: Added support for humanizing DateTimeOffset
- #395: Added support for Xamarin platforms to PCL
- #397: Added is/are to inflector rules
- #392: Default implementation for collection formatter using regular style instead of an exception. Default separator is ampercent.
- #377: Added culture specific decimal separator
- #381: Fixes trailing question mark reported in #378.
- #382: Fix 90000th and -thousandth in RussianNumberToWordsConverter.
- #386: Collection formatter support for German, Danish, Dutch, Portuguese and Norwegian
- #384: Added maximum TimeUnit to TimeSpanHumanizeExtensions.Humanize to enable prevention of rolling up the next largest unit of time.
- #376: Fixes the IConvertible warning thrown on Windows Phone reported on #317
- #374: BREAKING CHANGE: Fixed Chinese locale code: CHS to Hans & CHT to Hant
- #366: Removed UnitPreposition to avoid warnings in Win 8.1 apps
- #365: Added ByteSizeExtensions method for long inputs
- #364: Added "campuses" as plural of "campus"
- #363: Use RegexOptions.Compiled if available
- #354: Removed unnecessary Regex constructors
- #356: Added missing values for ro and changed the RomanianFormatter implementation so as to avoid duplicate resources
- #357: Added Chinese localisation
- #350: Added missing values for nl
- #359: Added special case resources to neutral language
- #362: Fixed arithmatic operations in ByteSize
- #361: Added 'criteria' as the irregular plural of 'criterion'
- #355: Added 'waves' as plural of 'wave'
###v1.31.0 - 2014-11-08
- #340: Fixed TimeSpan humanization precision skips units after the largest one when they're zero until it finds a non-zero unit
- #347: Changed één to 1 for dutch language.
- #341: Added logic to properly treat underscores, dashes and spaces.
- #342: Added complete Uzbek localisation
- #320: Fixed Dehumanize actually humanizing an already dehumanized string
- #322: DefaultFormatter.TimeSpanHumanize throws a more meaningful exception when called with TimeUnits larger than TimeUnit.Week
- #314: Added ByteRate class and supporting members to facilitate calculation of byte transfer rates
- #333: Added support to humanize enums from resource strings
- #332: Added Italian localisation and tests: date and time Resources, CollectionFormatter, NumberToWordsConverter (cardinal and ordinal), Ordinalizer
- #309: Fixed the bug with DateTime.Humanize returning tomorrow when it's not actually tomorrow
- #306: Added Singularize/Pluralize overload without using obsolete plurality enum
- #303: Added support for all integer types in ByteSize extensions
- #307: Added support to string.FormatWith for the explicit culture parameter
- #312: Added Turkish ToWord, ToOrdinalWord and Ordinalize implementation
- #173: Added support for Window Phone 8.1
- #301: Added Bangla (Bangladesh) localisation
- #300: Added optional Culture parameter to NumberToWords
- #297: Added support for all integer types in Fluent Date
- #294: Added support for untyped comparison of ByteSize
- #277: Added support for custom enum description attribute property names
- #276: Added Farsi ToOrdinalWords
- #281: Changed the logic for handling hyphenation and large numbers ending in twelve for English ordinal words; e.g. before "twenty first" now "twenty-first"
- #278: Changed DefaultDateTimeHumanizeStrategy to turn 60 min to one hour not 45
- #283: Added Neutral nb support for DateTime and TimeSpan Humanize
- #286: Added optional Culture parameter to DateTime.Humanize & TimeSpan.Humanize
- #257: Added German localisation for ToOrdinalWords and Ordinalize
- #261: Added future dates to Portuguese - Brazil
- #269: Added Vietnamese localisation
- #268: Added humanization of collections
- #236: Added Turkish localisation
- #239: Added Serbian localisation
- #241: Added German ToWords localisation
- #244: Added Slovenian localisation
- #247: Added Slovenian number to words localisation
- #227 & #243: Moved localiser registry to their own classes, allowed public access via Configurator, and made the default registrations lazy loaded
- #232: Adding code & tests to handle Arabic numbers to ordinal
- #235: Fixed the conversion for "1 millon" in SpanishNumberToWordsConverter
- #233: Added build.cmd and Verify build configuration for strict project build and analysis
- #217: Added pt-BR and Spanish Ordinalize localisation.
- #220: Added string formatting options to ToQuantity
- #219: Added Japanese translation for date and timespan
- #221: Added Russian ordinalizer
- #228: Fixed the "twenties" in SpanishNumberToWordsConverter
- #231: Added more settings for FromNow, Dual and Plural (Arabic)
- #222: Updated Ordinalize and ToOrdinalWords to account for special exceptions with 1 and 3.
- #188: Added Spanish ToOrdinalWords translations
- #166: Added Dutch (NL) Number to words and ordinals
- #199: Added Hebrew Number to words (both genders)
- #202: Fixed typo sekunttia -> sekuntia (Finnish translation)
- #203: Added feminine gender for french ordinal words
- #208: Added Hebrew implementation of future DateTime
- #196: Added Gender for ToOrdinalWords (needed for Brazilian Portuguese). Added pt-br OrdinalToWords localisation
- #194: Added pt-BR NumberToWords localisation
- #147: Added Russian translation for ToWords
- #190: Added French translation for ToWords and ToOrdinalWords
- #179: Added Hungarian localisation
- #181: Added Bulgarian localization, date and timespan tests
- #141: Added Indonesian localization
- #148: Added Hebrew localization for date and timespan
- #186: Refactored
ToOrdinalWords
to use existingNumberToWordsExtension
to prepare for Ordinal localization - #193: Fixed the NullException error on DateTime.Humanize
- #171: T4-Template fix: Using EnglishNumberToWordsConverter instead of 'ToWords()' while dogfooding the template with the library.
- #165: Added precision based
DateTime.Humanize
strategy - #155: French and Belgian French localisation
- #151: Added Spanish ToWords Translations
- #172: Added Polish translation for ToWords
- #184: Fixed spelling error with forth/fourth in EnglishNumberToWordsConverter
- #149: Improved & refactored number to words localisation
- #143: Added Russian translation for future DateTime, TimeSpan and Now
- #144: Added Danish localization (strings, tests)
- #146: Added Spanish translation for future DateTime, TimeSpan and Now
- #137: Fixed grammar error in
nb-NO
resource file & added missing Norwegian resource strings (mainlyDateHumanize_*FromNow
) - #135: Added Swedish localization (strings, tests)
- #140: Added Polish localization (strings, formatter, tests)
- #124: Added Slovak localization (strings, formatter, tests)
- #130: Added Czech localization (strings, formatter, tests)
- #131: Clean date humanize tests and renamed
TimeUnitTense
toTense
- #129: Removed all but PCL references
- #121: Added Farsi translation for DateTime, TimeSpan and NumberToWords
- #120: Added German translation for DateTime and TimeSpan
- #117: Added
FormatWith
string extension
- #113: Added
Truncate
feature - #109: Made Dutch (NL) localization a neutral culture, not just for Belgium
- #108: Added support for custom description attributes
- #106:
- Refactored IFormatter and DefaultFormatter
- Refactored
DateTime.Humanize
andTimeSpan.Humanize
- Changed
ResourceKeys
to use a dynamic key generation - Fixed the intermittent failing tests on
DateTime.Humanize
- #99: Added
ByteSize
feature
- #95: Added NoMatch optional parameter to DehumanizeTo & renamed
CannotMapToTargetException
toNoMatchFoundException
If you were catching CannotMapToTargetException
on a DehumanizeTo
call, that's been renamed to NoMatchFoundException
to make it more generic.
- #93: added non-generic DehumanizeTo for Enums unknown at compile time
- #78: added support for billions to
ToWords
- #81: fixed issue with localised methods returning null in Windows Store apps
- Created Humanizr.net website as GitHub pages
- #73: added
ToWords
implementation for Arabic
- #68:
DateTime.Humanize()
now supports future dates
- #69: changed the return type of
DehumanizeTo<TTargetEnum>
toTTargetEnum
The return type of DehumanizeTo<TTargetEnum>
was changed from Enum
to TTargetEnum
to make the API a lot easier to work with.
That also potentially means that your calls to the old method may be broken.
Depending on how you were using the method you might have to either drop the now redundant cast to TTargetEnum
in your code, or
fix it based on your requirements.
- #65: added precision to
TimeSpan.Humanize
- #62: added
ShowQuantityAs
parameter toToQuantity
- #51: added Spanish translation for
DateTime.Humanize
- #52: added Arabic translation for
DateTime.Humanize
- #53: added
Hyphenate
as an overload forDasherize
- #54: added Portuguese translation for
DateTime.Humanize
- #55: added Arabic translation for
TimeSpan.Humanize
- #37: added
ToQuantity
method - #43:
- added
Plurality
enum - can call
Singularize
on singular andPluralize
on plural words ToQuantity
can be called on words with unknown plurality
- added
- #26: added Norwegian (nb-NO) localization for
DateTime.Humanize()
- #33:
- changed to Portable Class Library with support for .Net 4+, SilverLight 5, Windows Phone 8 and Win Store applications
- symbols nuget package is published so you can step through Humanizer code while debugging your code
No release history before this point: check out http://www.mehdi-khalili.com/humanizer-v1 for the feature-set at V1
Commits: ...