Commit aa483b47 authored by Johannes Bill's avatar Johannes Bill

fixed exclude holidays

parent 411f6f9c
...@@ -123,7 +123,10 @@ function wrapper(_epochSpan) { ...@@ -123,7 +123,10 @@ function wrapper(_epochSpan) {
for (key in jsonExcl) { for (key in jsonExcl) {
data = jsonExcl[key]; data = jsonExcl[key];
option = getOption(data); option = getOption(data);
resultExcl.push(getOpeningHours(data, option)); if (option == "holiday")
resultExcl.push(getHolidays(data));
else
resultExcl.push(getOpeningHours(data, option));
} }
resultExcl = tmUtils.orOp(resultExcl); resultExcl = tmUtils.orOp(resultExcl);
} }
......
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