Commit 062b83f1 authored by Johannes Bill's avatar Johannes Bill

Merge branch 'master' into v2

parents 1fc4f47e 9a605846
...@@ -44,8 +44,8 @@ function wrapper(_epochSpan) { ...@@ -44,8 +44,8 @@ function wrapper(_epochSpan) {
var holidayIntervals = holidays.map(function (date) { var holidayIntervals = holidays.map(function (date) {
return tmUtils.singleDay(date); return tmUtils.singleDay(date);
}); });
holidayIntervals = tmUtils.andOp(holidayIntervals, [epochSpan]);
tmUtils.sort(holidayIntervals); tmUtils.sort(holidayIntervals);
holidayIntervals = tmUtils.andOp(holidayIntervals, [epochSpan]);
try { try {
var ret = {holidays: holidays}; var ret = {holidays: holidays};
......
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