diff --git a/core/project.service.js b/core/project.service.js index 9de66590..88499206 100644 --- a/core/project.service.js +++ b/core/project.service.js @@ -125,7 +125,7 @@ async function create_project_request(asked_project, user) { '#NAME#': asked_project.id, '#SIZE#': asked_project.size, '#CPU#': asked_project.cpu, - '#EXPIRE#': asked_project.expire.toISOString().split('T')[0], + '#EXPIRE#': new Date(asked_project.expire).toISOString().split('T')[0], '#ORGA#': asked_project.orga, '#DESC#': asked_project.description }); diff --git a/manager2/src/app/project/project.component.ts b/manager2/src/app/project/project.component.ts index db93ffb7..0712a55c 100644 --- a/manager2/src/app/project/project.component.ts +++ b/manager2/src/app/project/project.component.ts @@ -17,6 +17,8 @@ export class ProjectComponent implements OnInit { @ViewChild('dtu') tableuser: Table; @ViewChild('formModal') formModal: ElementRef; + @ViewChild('terms_and_conditions_hds') terms_and_conditions_hds; + new_project: any projects: any users: any