diff --git a/calendar/resources/content/unifinder.js b/calendar/resources/content/unifinder.js index 02aea279c0ae..d1f6424c1cbb 100644 --- a/calendar/resources/content/unifinder.js +++ b/calendar/resources/content/unifinder.js @@ -435,7 +435,7 @@ function getAndSetEventTable( ) case "current": var SelectedDate = gCalendarWindow.getSelectedDate(); - MidnightSelectedDate = new Date( SelectedDate.getFullYear(), SelectedDate.getMonth(), SelectedDate.getDate(), 0, 0, 0 ); + var MidnightSelectedDate = new Date( SelectedDate.getFullYear(), SelectedDate.getMonth(), SelectedDate.getDate(), 0, 0, 0 ); EndDate = new Date( MidnightSelectedDate.getTime() + ( 1000 * 60 * 60 * 24 ) - 1000 ); return( gEventSource.getEventsForRange( MidnightSelectedDate, EndDate ) );