mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
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:
parent
5f8fd21f92
commit
9f39e126c7
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user