Merge pull request #18 from teresita-guerrero/issue16
Invalid date message and invalid date format Fixes #16 #15
This commit is contained in:
commit
1f72842eab
@ -53,8 +53,16 @@
|
||||
description;
|
||||
}
|
||||
|
||||
$scope.userStory.createdOn = moment($scope.userStory.
|
||||
createdOn, "DD-MM-YYYY").format("MM-DD-YYYY");
|
||||
|
||||
if($scope.userStory.updatedOn !=='') {
|
||||
$scope.userStory.updatedOn = moment($scope.userStory.
|
||||
updatedOn).format("MM-DD-YYYY");
|
||||
updatedOn, "YYYY-MM-DD").format("MM-DD-YYYY");
|
||||
} else {
|
||||
$scope.userStory.updatedOn = $scope.userStory.createdOn;
|
||||
}
|
||||
|
||||
for(var key in $scope.userStory.tasks_status) {
|
||||
$scope.actualProject[key] = $scope.userStory.
|
||||
tasks_status[key].projects[0]
|
||||
|
Loading…
Reference in New Issue
Block a user