Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit e8fdad2

Browse files
committed
set default to proposeStart/End to avoid getTimeZone call on a non-object
1 parent f7454c6 commit e8fdad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interfaces/exchangeCalendar/mivExchangeCalendar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5566,8 +5566,8 @@ if (this.debug) this.logInfo(" ;;;; rrule:"+rrule.icalProperty.icalString);
55665566
}
55675567
if (this.debug) this.logInfo(" -------------- messageDisposition="+messageDisposition);
55685568

5569-
var proposeStart = this.tryToSetDateValue(input.proposeStart,"");
5570-
var proposeEnd = this.tryToSetDateValue(input.proposeEnd,"");
5569+
var proposeStart = this.tryToSetDateValue(input.proposeStart,cal.now());
5570+
var proposeEnd = this.tryToSetDateValue(input.proposeEnd,cal.now());
55715571
var proposeNewTime = false;
55725572

55735573
input.proposeStart = cal.toRFC3339(proposeStart.getInTimezone(this.globalFunctions.ecUTC()));

0 commit comments

Comments
 (0)