Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the 1pm selection #85

Merged
merged 1 commit into from

2 participants

@pedroma

When using the keyboard the change from 12AM to 1PM does not work.

@pedroma pedroma Fix the 1pm selection
When using the keyboard the change from 12AM to 1PM does not work.
d83f2aa
@jdewit jdewit merged commit 1f204ef into jdewit:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 15, 2013
  1. @pedroma

    Fix the 1pm selection

    pedroma authored
    When using the keyboard the change from 12AM to 1PM does not work.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/bootstrap-timepicker.js
View
2  js/bootstrap-timepicker.js
@@ -484,7 +484,7 @@
this.hour++;
return this.toggleMeridian();
} else if (this.hour === 12) {
- return this.hour = 1;
+ this.hour = 0;
}
}
if (this.hour === 23) {
Something went wrong with that request. Please try again.