Commit 5fd7b4bc authored by Evren Kutar's avatar Evren Kutar

Merge branch 'develop-merge-5239' into develop

parents 36829701 a705f5c2
...@@ -568,13 +568,11 @@ angular.module('ulakbus.formService', ['ui.bootstrap']) ...@@ -568,13 +568,11 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
status: {opened: false}, status: {opened: false},
open: function ($event) { open: function ($event) {
this.status.opened = true; this.status.opened = true;
scope.model[k] = Moment(scope.model[k], "DD.MM.YYYY").toDate();
}, },
format: 'dd.MM.yyyy', format: 'dd.MM.yyyy',
onSelect: function () { onSelect: function () {
var tempDate = angular.copy(scope.model[k]); scope.model[k] = angular.copy(generator.dateformatter(scope.model[k]));
tempDate = Date.parse(tempDate, "dd.MM.yyyy");
scope.model[k] = tempDate;
//scope.model[k] = angular.copy(generator.dateformatter(scope.model[k]));
} }
}; };
} }
......
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