Skip to content

Conversation

@novoj
Copy link

@novoj novoj commented Sep 26, 2011

Issue when specifying stepHour/stepMinute/stepSecond along with min and max limits. Modulo was computed in relation with midnight instead of min limit.

Issue when specifying stepHour/stepMinute/stepSecond along with min and max limits. Modulo was computed in relation with midnight instead of min limit. Error usecase:

$('#example1').datetimepicker({
stepHour: 4,
hourMin: 9,
hourMax: 18
});

Would make steps 9-13-16 instead of 9-13-17.

…nd max limits. Modulo was computed in relation with midnight instead of min limit. Error usecase:

$('#example1').datetimepicker({
                    stepHour: 4,
                    hourMin: 9,
                    hourMax: 18
                });

Would make steps 9-13-16 instead of 9-13-17.
trentrichardson added a commit that referenced this pull request Oct 2, 2011
Issue when combining stepHours and minHour / maxHour
@trentrichardson trentrichardson merged commit 680c025 into trentrichardson:dev Oct 2, 2011
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