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

Timespan fixes for Romanian (ref. #632) #637

Merged
merged 4 commits into from
Nov 3, 2017

Conversation

cristianst85
Copy link
Contributor

@cristianst85 cristianst85 commented May 5, 2017

Fixes #632 for Romanian (ro).
Added NoTime test and changed to '0 seconds' for Romanian.
Also added few more test cases.

@@ -103,5 +104,13 @@ public void Years(int days, string expected)
{
Assert.Equal(expected, TimeSpan.FromDays(days).Humanize(maxUnit: Humanizer.Localisation.TimeUnit.Year));
}

[Fact, CustomDescription("The name of this test is confusing because has no sense. Instead should be read as an interval with duration zero and not the absence of time.")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related #161.

@cristianst85
Copy link
Contributor Author

@onovotny, can this be merged?

Thanks!

@clairernovotny
Copy link
Member

@aloisdg @hazzik @mexx, can you please give it a quick review?

@clairernovotny clairernovotny merged commit 83d076f into Humanizr:dev Nov 3, 2017
@cristianst85 cristianst85 deleted the timespan-fixes-ro branch March 10, 2018 16:13
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.

2 participants