mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
Bug 309832 Multiday all-day events don't appear after first day if first day is not in view r=mvl
This commit is contained in:
parent
44682de1ce
commit
4981118462
@ -670,6 +670,8 @@ CalendarView.prototype.createEventBox = function(aItemOccurrence, aInteralFuncti
|
|||||||
if(startDate.jsDate < displayStart) {
|
if(startDate.jsDate < displayStart) {
|
||||||
startDate.jsDate = displayStart;
|
startDate.jsDate = displayStart;
|
||||||
startDate.normalize();
|
startDate.normalize();
|
||||||
|
if (aItemOccurrence.startDate.isDate)
|
||||||
|
startDate.isDate = true;
|
||||||
startDate = startDate.getInTimezone(calendarDefaultTimezone());
|
startDate = startDate.getInTimezone(calendarDefaultTimezone());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user