Improve validation for desktop

This commit is contained in:
Peter Maquiran
2021-07-05 11:15:55 +01:00
parent 382104d058
commit 2d4216a6b0
8 changed files with 66 additions and 35 deletions
@@ -134,7 +134,7 @@ export class NewEventPage implements OnInit {
this.loggeduser = userService.ValidatedUser;
this.dateControlStart = new FormControl(moment(new Date()));
this.dateControlEnd = new FormControl(moment(new Date()));
this.dateControlEnd = new FormControl(moment(new Date(new Date().getTime() + 15 * 60000)));
}
ngOnInit() {