Skip to content

Commit

Permalink
fix: Update age requirement to 16 years old
Browse files Browse the repository at this point in the history
  • Loading branch information
iacopolea committed Aug 22, 2024
1 parent b6a6e9b commit 0b3f7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/BirthdayPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const BirthdayPicker = ({
const { t, i18n } = useTranslation();
const now = new Date();
const maxDate = new Date(
Date.UTC(now.getFullYear() - 18, now.getMonth(), now.getDate())
Date.UTC(now.getFullYear() - 16, now.getMonth(), now.getDate())
);

return (
Expand Down

0 comments on commit 0b3f7e0

Please sign in to comment.