This commit is contained in:
philipp lang 2024-05-03 21:52:29 +02:00
parent 1b096e7780
commit 46d2e653c3
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ Alpine.data("form", () => ({
return false; return false;
} }
console.log(dayjs(this.birthday, "DD.MM.YYYY").add(18, "year"));
return dayjs(this.birthday, "DD.MM.YYYY") return dayjs(this.birthday, "DD.MM.YYYY")
.add(18, "year") .add(18, "year")
.isAfter(dayjs(this.date, "DD.MM.YYYY")); .isAfter(dayjs(this.date, "DD.MM.YYYY"));