Commit cf1da512 authored by Johannes Bill's avatar Johannes Bill

fixed issue with datespan 3

parent 07b72d60
......@@ -306,7 +306,7 @@ function wrapper(_epochSpan) {
else if (repeatOption == 30) noInMonth = -1;
if (noInMonth)
return tmUtils.orOp(dateSpan.map(function (dateSpanElem) {
tmUtils.cyclicFromTillDay(daySpan, noInMonth, timeSpan, dateSpanElem, epochSpan);
return tmUtils.cyclicFromTillDay(daySpan, noInMonth, timeSpan, dateSpanElem, epochSpan);
}));
else {
switch (repeatOption) {
......@@ -314,7 +314,7 @@ function wrapper(_epochSpan) {
case 21:
case 28:
return tmUtils.orOp(dateSpan.map(function (dateSpanElem) {
tmUtils.standardFromTillDay(daySpan, timeSpan, dateSpanElem, epochSpan, repeatOption);
return tmUtils.standardFromTillDay(daySpan, timeSpan, dateSpanElem, epochSpan, repeatOption);
}));
default:
throw new Error("invalid repeatoption");
......
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