better solution for issue 477

This commit is contained in:
Adam Shaw 2010-07-03 14:09:14 -07:00
parent 80d373cb2e
commit 5f59997cf7

View file

@ -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);
} }