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

Commit 8bee5f2

Browse files
authored
Merge pull request #2 from jaroslawp/ec-4.0
Fix meeting response proposed start and end time by @jaroslawp
2 parents e881e89 + f87e5a4 commit 8bee5f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

interfaces/exchangeCalendar/mivExchangeCalendar.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5570,8 +5570,10 @@ if (this.debug) this.logInfo(" ;;;; rrule:"+rrule.icalProperty.icalString);
55705570
var proposeEnd = this.tryToSetDateValue(input.proposeEnd,"");
55715571
var proposeNewTime = false;
55725572

5573-
input.proposeStart = cal.toRFC3339(proposeStart.getInTimezone(this.globalFunctions.ecUTC()));
5574-
input.proposeEnd = cal.toRFC3339(proposeEnd.getInTimezone( this.globalFunctions.ecUTC()));
5573+
if (proposeStart)
5574+
input.proposeStart = cal.toRFC3339(proposeStart.getInTimezone(this.globalFunctions.ecUTC()));
5575+
if (proposeEnd)
5576+
input.proposeEnd = cal.toRFC3339(proposeEnd.getInTimezone( this.globalFunctions.ecUTC()));
55755577

55765578
if( input.proposeStart && input.proposeEnd ){
55775579
proposeNewTime = true;

0 commit comments

Comments
 (0)