mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
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:
parent
f384c540d5
commit
98b594a004
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user