From 5053e669d4502cca9e9c537c91a025137e1ca4b2 Mon Sep 17 00:00:00 2001 From: Durgesh1988 Date: Fri, 18 Nov 2016 16:26:50 +0530 Subject: [PATCH] Change Date formet for Schuler: --- .../sections/dashboard/popups/controller/scheduleCtrl.js | 4 ++-- .../src/partials/sections/dashboard/popups/view/schedule.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/cat3/src/partials/sections/dashboard/popups/controller/scheduleCtrl.js b/client/cat3/src/partials/sections/dashboard/popups/controller/scheduleCtrl.js index 138b6ba1a..77bd49833 100644 --- a/client/cat3/src/partials/sections/dashboard/popups/controller/scheduleCtrl.js +++ b/client/cat3/src/partials/sections/dashboard/popups/controller/scheduleCtrl.js @@ -31,8 +31,8 @@ $scope.removeTime = function (ind) { sch.interval.splice(ind,1); }; - sch.schedulerStartOn=moment(new Date()).format('DD/MM/YYYY'); - sch.schedulerEndOn=moment(new Date()).format('DD/MM/YYYY'); + sch.schedulerStartOn=moment(new Date()).format('MM/DD/YYYY'); + sch.schedulerEndOn=moment(new Date()).format('MM/DD/YYYY'); sch.cancel = function() { $modalInstance.dismiss('cancel'); }; diff --git a/client/cat3/src/partials/sections/dashboard/popups/view/schedule.html b/client/cat3/src/partials/sections/dashboard/popups/view/schedule.html index c51231156..dfd827a01 100644 --- a/client/cat3/src/partials/sections/dashboard/popups/view/schedule.html +++ b/client/cat3/src/partials/sections/dashboard/popups/view/schedule.html @@ -82,14 +82,14 @@