diff --git a/src/util.js b/src/util.js index 19ffbe1..b2b21cd 100644 --- a/src/util.js +++ b/src/util.js @@ -556,7 +556,7 @@ function exclEndDay(event) { function _exclEndDay(end, allDay) { end = cloneDate(end); - return allDay || end.getHours() || end.getMinutes() ? addDays(end, 1) : end; + return allDay || end.getHours() || end.getMinutes() || end.getSeconds() ? addDays(end, 1) : end; } diff --git a/tests/issue_477_event_width.html b/tests/issue_477_event_width.html new file mode 100644 index 0000000..78ff1ea --- /dev/null +++ b/tests/issue_477_event_width.html @@ -0,0 +1,50 @@ + + + + + + + + + +
+ +