Fixed issue #329 - Pending event time after 22:59 jumps back to 22:59.
This commit is contained in:
parent
f79f6634ee
commit
c3f338db02
1 changed files with 2 additions and 2 deletions
|
@ -838,7 +838,7 @@
|
|||
minute = 59;
|
||||
}
|
||||
|
||||
if (hour >= this.maxHours) {
|
||||
if (hour > this.maxHours) {
|
||||
// No day/date handling.
|
||||
hour = this.maxHours - 1;
|
||||
}
|
||||
|
@ -859,7 +859,7 @@
|
|||
} else if (hour < 12 && timeMode === 2) {
|
||||
hour += 12;
|
||||
} else {
|
||||
if (hour >= this.maxHours) {
|
||||
if (hour > this.maxHours) {
|
||||
hour = this.maxHours - 1;
|
||||
} else if ((hour < 0) || (hour === 12 && timeMode === 1)){
|
||||
hour = 0;
|
||||
|
|
Loading…
Reference in a new issue