You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var activeDate =moment($scope.dateRangeStart).subtract(1, $view).add(1, 'minute');
331
+
for (var i =0; i <$dates.length; i++) {
332
+
if ($dates[i].localDateValue() <=activeDate.valueOf()) {
333
+
$dates[i].selectable=false;
334
+
}
335
+
}
336
+
}
337
+
}
338
+
```
339
+
Then in the controller two functions must be added. Each one is related to the concerned date. They update the selectable status of each displayed date based on the range values. The time is also taken into account.
0 commit comments