Skip to content

Commit

Permalink
ISI-950 Bugfix Bearbeitungsfrist 1. eines Monats
Browse files Browse the repository at this point in the history
  • Loading branch information
albrecht.schaenzel committed Nov 20, 2023
1 parent 8390e66 commit 6d7e068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/mixins/validation/ValidatorMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class ValidatorMixin extends Vue {
return "Bitte Stand des Verfahrens angeben";
}
const date = moment(abfrage.fristBearbeitung, "DD.MM.YYYY", true);
if (!date.isValid() || abfrage.fristBearbeitung?.getDate() === new Date(0).getDate()) {
if (!date.isValid() || abfrage.fristBearbeitung?.toISOString() == new Date(0).toISOString()) {
return "Bearbeitungsfrist nicht angegeben oder nicht im Format TT.MM.JJJJ";
}
return this.findFaultInAbfragevarianten(abfrage);
Expand Down

0 comments on commit 6d7e068

Please sign in to comment.