feat: kan opdracht aanmaken met deadline
This commit is contained in:
parent
ca4254bd67
commit
2180425323
4 changed files with 27 additions and 7 deletions
|
@ -58,7 +58,7 @@ export const deadlineRules = [
|
|||
return "Invalid date or time.";
|
||||
}
|
||||
|
||||
if (selectedDateTime <= now) {
|
||||
if (selectedDateTime < now) {
|
||||
return "The deadline must be in the future.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue