Skip to content

Commit

Permalink
Bug: 13979 Don't increment the end date when toggling all day event.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 19, 2016
1 parent 485687d commit 0e62362
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kronolith/js/kronolith.js
Expand Up @@ -6511,9 +6511,8 @@ KronolithCore = {
end.add(-1).minute();
}
} else if (old) {
end.add(1).day();
end.setHours(0);
end.setMinutes(0);
end.setHours(23);
end.setMinutes(59);
}
$('kronolithEventEndDate').setValue(end.toString(Kronolith.conf.date_format));
$('kronolithEventEndTime').setValue(end.toString(Kronolith.conf.time_format));
Expand Down

0 comments on commit 0e62362

Please sign in to comment.