better solution for issue 477
This commit is contained in:
parent
80d373cb2e
commit
5f59997cf7
|
@ -556,7 +556,7 @@ function exclEndDay(event) {
|
||||||
|
|
||||||
function _exclEndDay(end, allDay) {
|
function _exclEndDay(end, allDay) {
|
||||||
end = cloneDate(end);
|
end = cloneDate(end);
|
||||||
return allDay || end.getHours() || end.getMinutes() || end.getSeconds() ? addDays(end, 1) : end;
|
return allDay || end.getHours() || end.getMinutes() ? addDays(end, 1) : clearTime(end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue