Bug 327856 Views don't display events that start and end at 00:00 on the same day, r=dmose

This commit is contained in:
jminta%gmail.com 2006-03-28 02:57:36 +00:00
Родитель 5352b8fd86
Коммит 938f6991e0
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -1130,6 +1130,11 @@
targetDate.second = 0;
}
if (targetDate.compare(finishDate) == 0) {
// Zero length events are silly, but we have to handle them
return [this.findBoxForDate(targetDate)];
}
while (targetDate.compare(finishDate) == -1) {
var box = this.findBoxForDate(targetDate);

Просмотреть файл

@ -2407,6 +2407,11 @@
targetDate.second = 0;
}
if (targetDate.compare(finishDate) == 0) {
// Zero length events are silly, but we have to handle them
return [this.findColumnForDate(targetDate)];
}
while (targetDate.compare(finishDate) == -1) {
var col = this.findColumnForDate(targetDate);