From 5f59997cf7ed4dda5ca3f5ab48a611accb3d5383 Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sat, 3 Jul 2010 14:09:14 -0700 Subject: [PATCH] better solution for issue 477 --- src/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.js b/src/util.js index b2b21cd..b2ea9db 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() || end.getSeconds() ? addDays(end, 1) : end; + return allDay || end.getHours() || end.getMinutes() ? addDays(end, 1) : clearTime(end); }