-
Notifications
You must be signed in to change notification settings - Fork 2
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
Subtract #1
Comments
How can I help? |
Hey, here a starting point https://github.com/joseluisq/timelite/blob/master/index.js#L99-L124 |
@djschoone tell me if you need some help. |
@joseluisq I have looked into the different functions. I think the approach is not right. Why not calculate hours, minutes and seconds to an integer in seconds ((hours * 60 * 60) + (minutes * 60) + seconds))? A lot easier to calculate with. |
Sure, can you do it? |
It makes more sense work at seconds-integer level. can you suggest an alternative? I open to adopt it. |
any news about the substract method? |
Hey @MortenHe! |
If you have ideas please let me know or you can send me a PR. |
v1.0.0 released. |
sub
function to subtract an array of string times.Example:
The text was updated successfully, but these errors were encountered: