Merge pull request #2755 from kialam/fix-invalid-start-date

Scheduler: Start Date begins 1 day ahead.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2018-11-20 15:36:47 +00:00
committed by GitHub

View File

@@ -396,6 +396,8 @@ export default ['$filter', '$state', '$stateParams', '$http', 'Wait',
scheduler.clear(); scheduler.clear();
$scope.$on("htmlDetailReady", function() { $scope.$on("htmlDetailReady", function() {
$scope.hideForm = false; $scope.hideForm = false;
scheduler.scope.schedulerStartDt = moment(new Date()).add(1,'days');
$scope.$watchGroup(["schedulerName", $scope.$watchGroup(["schedulerName",
"schedulerStartDt", "schedulerStartDt",
"schedulerStartHour", "schedulerStartHour",