Lint
This commit is contained in:
parent
1b096e7780
commit
46d2e653c3
|
@ -30,7 +30,6 @@ Alpine.data("form", () => ({
|
|||
return false;
|
||||
}
|
||||
|
||||
console.log(dayjs(this.birthday, "DD.MM.YYYY").add(18, "year"));
|
||||
return dayjs(this.birthday, "DD.MM.YYYY")
|
||||
.add(18, "year")
|
||||
.isAfter(dayjs(this.date, "DD.MM.YYYY"));
|
||||
|
|
Loading…
Reference in New Issue