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

Support all integer primitives on NumberToTimeSpanExtensions #297

Closed
i3arnon opened this issue Jun 15, 2014 · 1 comment
Closed

Support all integer primitives on NumberToTimeSpanExtensions #297

i3arnon opened this issue Jun 15, 2014 · 1 comment

Comments

@i3arnon
Copy link
Contributor

i3arnon commented Jun 15, 2014

Add support for all integer types (uint, long, ulong, short, ushort, byte, sbyte) on all the TimeSpan extension methods (Days, Hours, Milliseconds, Minutes, Seconds, Weeks):

uint number = 5;
TimeSpan span = number.Seconds();

P.S: I can start implementing that right away.

i3arnon added a commit to i3arnon/Humanizer that referenced this issue Jun 15, 2014
@MehdiK MehdiK closed this as completed in 7dcec68 Jun 17, 2014
@MehdiK
Copy link
Member

MehdiK commented Jun 22, 2014

This is now released to NuGet as v1.27.0. Thanks for your contribution.

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

No branches or pull requests

2 participants