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

Added TimeSpan minUnit option #388 #403

Merged
merged 2 commits into from
May 24, 2015
Merged

Conversation

danielbrezoi
Copy link
Contributor

I have add timeSpan minUnit option.

@danielbrezoi
Copy link
Contributor Author

I have refactor the code so that it will be easy to implement the transformation to years and months. This actually is what I want to do next, if it is OK with you, but I don't know how to make the transformation from days. e.g. 1 year = 365 days and 4 years = (3x365) + (1x366) . I need some opinions on this.

PublicApiApprovalTest pass fixed Humanizr#403
MehdiK added a commit that referenced this pull request May 24, 2015
@MehdiK MehdiK merged commit b01cb7d into Humanizr:master May 24, 2015
@MehdiK
Copy link
Member

MehdiK commented May 25, 2015

Thanks for the contribution. This is now available on nuget as v1.36.0.

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.

None yet

2 participants