invalid date

This commit is contained in:
Peter Maquiran
2023-01-17 15:43:54 +01:00
parent 15dc36859a
commit 21ec78023f
2 changed files with 7 additions and 7 deletions
@@ -112,7 +112,7 @@ export class NewActionPage implements OnInit {
runValidation() {
this.validateFrom = true;
if(new Date(this.folder.DateBegin).toISOString() > new Date(this.folder.DateEnd).toISOString()){
this.toastService.badRequest("A data de início não pode ser superior a data de fim");
this.toastService._badRequest("A data de início não pode ser superior a data de fim");
}
}