fix(#83): keep original date when editing a conference

This commit is contained in:
tdurieux
2021-09-12 00:21:02 +02:00
parent 728780675f
commit c802c68523

View File

@@ -1548,6 +1548,8 @@ angular
.get("/api/conferences/" + $routeParams.conferenceId)
.then((res) => {
$scope.options = res.data;
$scope.options.startDate = new Date($scope.options.startDate);
$scope.options.endDate = new Date($scope.options.endDate);
});
}
if ($routeParams.conferenceId) {