Commit c12faf23 authored by Sebastian's avatar Sebastian
Browse files

excludedDate fix

parent c118c2d5
......@@ -355,7 +355,7 @@ var ICalEvent = function(_data, calendar) {
data.repeating.exclude = [];
repeating.exclude.forEach(function(excludedDate) {
var originalDate = excludedDate;
if(typeof(excludedDate == 'string')) {
if(typeof excludedDate === 'string') {
excludedDate = new Date(excludedDate);
}
......
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