bug 335463 - Shows tasks which have a entryDate earlier than the first date in the view. patch by thomas.benisch@sun.com, r1=lilmatt, r2=dmose

This commit is contained in:
mattwillis%gmail.com 2006-09-13 23:58:32 +00:00
parent f384c540d5
commit 98b594a004

View File

@ -444,8 +444,12 @@ calMemoryCalendar.prototype = {
else if (item.isCompleted && !itemNotCompletedFilter)
continue;
itemEndTime = itemStartTime =
item.entryDate ? item.entryDate.nativeTime : 0;
itemStartTime = (item.entryDate
? item.entryDate.nativeTime
: START_OF_TIME);
itemEndTime = (item.dueDate
? item.dueDate.nativeTime
: END_OF_TIME);
} else {
// XXX unknown item type, wth do we do?
continue;