From b3e98ffffdfd2bcd1f4281756a92584053153f17 Mon Sep 17 00:00:00 2001 From: "jminta%gmail.com" Date: Tue, 23 Aug 2005 16:20:46 +0000 Subject: [PATCH] Bug 305611 'Currently Selected Day' filter does nothing. patch by robin.edrenius@telia.com r=jminta --- calendar/resources/content/unifinder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/resources/content/unifinder.js b/calendar/resources/content/unifinder.js index 494c23c975f..59fbd00a011 100644 --- a/calendar/resources/content/unifinder.js +++ b/calendar/resources/content/unifinder.js @@ -653,7 +653,7 @@ function refreshEventTree( eventArray ) case "current": var SelectedDate = gCalendarWindow.getSelectedDate(); StartDate = new Date( SelectedDate.getFullYear(), SelectedDate.getMonth(), SelectedDate.getDate(), 0, 0, 0 ); - EndDate = new Date( MidnightSelectedDate.getTime() + ( 1000 * 60 * 60 * 24 ) - 1000 ); + EndDate = new Date( StartDate.getTime() + ( 1000 * 60 * 60 * 24 ) - 1000 ); break; default: