зеркало из https://github.com/mozilla/pjs.git
bug 349788 - Fixes missing recurring events for UTC+ timezones. r=ssitter,dmose
This commit is contained in:
Родитель
8c5eac6a95
Коммит
d082dec417
|
@ -347,11 +347,13 @@ calRecurrenceInfo.prototype = {
|
|||
try {
|
||||
var duration = this.mBaseItem.duration.clone();
|
||||
duration.isNegative = true;
|
||||
searchStart.isDate = false; // workaround for UTC+ timezones
|
||||
searchStart.addDuration(duration);
|
||||
} catch(ex) {
|
||||
dump("recurrence tweaking exception:"+ex+'\n');
|
||||
}
|
||||
|
||||
// workaround for UTC- timezones
|
||||
var rangeEnd = aRangeEnd;
|
||||
if (rangeEnd && rangeEnd.isDate) {
|
||||
rangeEnd = aRangeEnd.clone();
|
||||
|
|
Загрузка…
Ссылка в новой задаче