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

incrementMinute and decrementMinute do not behave the same #322

Open
smistir opened this issue Jan 8, 2016 · 2 comments
Open

incrementMinute and decrementMinute do not behave the same #322

smistir opened this issue Jan 8, 2016 · 2 comments

Comments

@smistir
Copy link

smistir commented Jan 8, 2016

With default step value of "15", increment minute is coded to round the value so that if you manually enter "02" and then click Up then the new value will be "15" instead of "17". However, if you do the same thing for down then the new value becomes "47". Based on the the up behavior, down should round to "00" and then continue steps.

@mrhota
Copy link
Collaborator

mrhota commented Jan 9, 2016

Thanks for the report. I'll look into it.

BTW, have you written a test case for this?

@smistir
Copy link
Author

smistir commented Jan 13, 2016

Test Cases have been written and included in the branch.. Pull Request was submitted with the change to bootstrap-timepicker.js as well as Unit Tests (see Issue #324)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants