immich/server/src/domain/person
Mohamed BOUSSAID 234449f3c6
fix(server, web): Prevent the user from setting a future date of birth (#5803)
* Hide the person age if it is negative

* Add validation to prevent future birth dates

* Add comment

* Add test, Add birth date validation and update birth date modal

* Add birthDate validation in PersonService and SetBirthDateModal

* Running npm run format:fix

* Generating the migration file propoerly, and Make the birthdate form logic simpler

* Make birthDate type only string

* Adding useLocationPin back
2023-12-19 10:07:38 -06:00
..
index.ts refactor: domain repositories (#4403) 2023-10-09 14:25:03 +00:00
person.dto.ts refactor(server): auth dto (#5593) 2023-12-09 23:34:12 -05:00
person.service.spec.ts fix(server, web): Prevent the user from setting a future date of birth (#5803) 2023-12-19 10:07:38 -06:00
person.service.ts fix(server, web): Prevent the user from setting a future date of birth (#5803) 2023-12-19 10:07:38 -06:00