diff --git a/lib/timeline/DateUtil.js b/lib/timeline/DateUtil.js index 49e9a56f..5ff46f41 100644 --- a/lib/timeline/DateUtil.js +++ b/lib/timeline/DateUtil.js @@ -378,7 +378,7 @@ exports.getHiddenDurationBeforeStart = function (hiddenDates, start, end) { var startDate = hiddenDates[i].start; var endDate = hiddenDates[i].end; - if (startDate >= start && endDate <= end) { + if (startDate >= start && endDate <= end) { duration += endDate - startDate; } }