Unverified Commit f8a03b47 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Move code block back into if(data.reapeating)

- Had an error with the way it was before.
parent 7dc23337
...@@ -703,18 +703,18 @@ var ICalEvent = function(_data, calendar) { ...@@ -703,18 +703,18 @@ var ICalEvent = function(_data, calendar) {
} }
g += '\r\n'; g += '\r\n';
}
// REPEATING EXCLUSION // REPEATING EXCLUSION
if(data.repeating.exclude) { if(data.repeating.exclude) {
g += 'EXDATE:'; g += 'EXDATE:';
var sArr = []; var sArr = [];
data.repeating.exclude.forEach(function(excludedDate) { data.repeating.exclude.forEach(function(excludedDate) {
sArr.push(tools.formatDate(excludedDate)); sArr.push(tools.formatDate(excludedDate));
}); });
g += sArr.join(','); g += sArr.join(',');
g += '\r\n'; g += '\r\n';
}
} }
// SUMMARY // SUMMARY
......
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