Commit 102a33e4 authored by Tobias Reischmann's avatar Tobias Reischmann

Altered date function calls on cal to new interface cal.dtz

See https://bugzilla.mozilla.org/show_bug.cgi?id=1408662 for details.
parent c3389f5e
......@@ -85,7 +85,7 @@ exchChangeCalendarPropertiesReminder.prototype = {
// first alarm type.
var absDate = this._document.getElementById("reminder-absolute-date");
reminder.related = reminder.ALARM_RELATED_ABSOLUTE;
reminder.alarmDate = cal.jsDateToDateTime(absDate.value,
reminder.alarmDate = cal.dtz.jsDateToDateTime(absDate.value,
this._argument.timezone);
//reminder.offset = 0;
if ("DISPLAY" in allowedActionsMap) {
......
......@@ -4392,14 +4392,14 @@ calExchangeCalendar.prototype = {
}
else {
if (this.debug) this.logInfo(" THIS IS STRANGE beginDate");
var oldBeginDate = cal.now();
var oldBeginDate = cal.dtz.now();
}
if (this.endDate) {
var oldEndDate = this.endDate.clone();
}
else {
if (this.debug) this.logInfo(" THIS IS STRANGE endDate");
var oldEndDate = cal.now();
var oldEndDate = cal.dtz.now();
}
this.startDate = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment