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) {
}
g += '\r\n';
}
// REPEATING EXCLUSION
if(data.repeating.exclude) {
g += 'EXDATE:';
var sArr = [];
data.repeating.exclude.forEach(function(excludedDate) {
sArr.push(tools.formatDate(excludedDate));
});
g += sArr.join(',');
// REPEATING EXCLUSION
if(data.repeating.exclude) {
g += 'EXDATE:';
var sArr = [];
data.repeating.exclude.forEach(function(excludedDate) {
sArr.push(tools.formatDate(excludedDate));
});
g += sArr.join(',');
g += '\r\n';
g += '\r\n';
}
}
// 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