Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #950 Timespan.Humanize( toWords: true) incorrect culture #952

Merged
merged 2 commits into from
Aug 31, 2020

Conversation

Xlient
Copy link
Contributor

@Xlient Xlient commented Jun 25, 2020

Fixes #950
fixed an issue where Timespan.Humanize( toWords: true) failed to convert the numbers to the specified culture.
Provided tests that test scenarios where the specified culture is Arabic/ar , Spanish/en & english-us.

Here is a checklist you should tick through before submitting a pull request:

  • Implementation is clean
  • Code adheres to the existing coding standards; e.g. no curlies for one-line blocks, no redundant empty lines between methods or code blocks, spaces rather than tabs, etc.
  • No ReSharper warnings
  • There is proper unit test coverage
  • If the code is copied from StackOverflow (or a blog or OSS) full disclosure is included. That includes required license files and/or file headers explaining where the code came from with proper attribution
  • There are very few or no comments (because comments shouldn't be needed if you write clean code)
  • Xml documentation is added/updated for the addition/change
  • Your PR is (re)based on top of the latest commits from the dev branch (more info below)
  • Link to the issue(s) you're fixing from your PR description. Use fixes #<the issue number>
  • Readme is updated if you change an existing feature or add a new one
  • Run either build.cmd or build.ps1 and ensure there are no test failures

@dnfadmin
Copy link

dnfadmin commented Jun 25, 2020

CLA assistant check
All CLA requirements met.

@Xlient Xlient changed the title Fix #950 Fix #950 Jun 26, 2020
@Xlient Xlient marked this pull request as draft June 26, 2020 01:50
@Xlient Xlient marked this pull request as ready for review June 26, 2020 02:14
@Xlient Xlient changed the title Fix #950 Fix #950 Timespan.Humanize( toWords: true) incorrect culture Aug 14, 2020
@clairernovotny clairernovotny merged commit 3773910 into Humanizr:master Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimeSpan Humanize Arabic issue
3 participants