diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index e3d43491..8694e3c4 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -207,7 +207,7 @@ "Current password": "Current password", "DATE_OF_BIRTH": { "BitrhdayPicker": "Date of birth", - "SignupFrom Step1": "Date of birth (dd/mm/yyyy)" + "SignupFrom Step1": "Date of birth" }, "Dashboard": "Dashboard", "Date": "Date", diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json index 74a4caca..8fedea97 100644 --- a/src/locales/es/translation.json +++ b/src/locales/es/translation.json @@ -207,7 +207,7 @@ "Current password": "Password actual", "DATE_OF_BIRTH": { "BitrhdayPicker": "Fecha de nacimiento", - "SignupFrom Step1": "Fecha de nacimiento (dd/mm/aaaa)" + "SignupFrom Step1": "Fecha de nacimiento" }, "Dashboard": "Dashboard", "Date": "Fecha", diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json index 5523e132..603abc16 100644 --- a/src/locales/fr/translation.json +++ b/src/locales/fr/translation.json @@ -207,7 +207,7 @@ "Current password": "Mot de passe actuel", "DATE_OF_BIRTH": { "BitrhdayPicker": "Date de naissance", - "SignupFrom Step1": "Date de naissance (jj/mm/aaaa)" + "SignupFrom Step1": "Date de naissance" }, "Dashboard": "Tableau de bord", "Date": "Date", diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json index 210407e0..ce8106eb 100644 --- a/src/locales/it/translation.json +++ b/src/locales/it/translation.json @@ -207,7 +207,7 @@ "Current password": "Password attuale", "DATE_OF_BIRTH": { "BitrhdayPicker": "Data di nascita", - "SignupFrom Step1": "Data di nascita (gg/mm/aaaa)" + "SignupFrom Step1": "Data di nascita" }, "Dashboard": "Dashboard", "Date": "Data", diff --git a/src/pages/GettingStarted/NewSignupForm/Step1/BirthdayInput.tsx b/src/pages/GettingStarted/NewSignupForm/Step1/BirthdayInput.tsx index 888344b9..fabc5b4d 100644 --- a/src/pages/GettingStarted/NewSignupForm/Step1/BirthdayInput.tsx +++ b/src/pages/GettingStarted/NewSignupForm/Step1/BirthdayInput.tsx @@ -13,7 +13,7 @@ const BirthdayInput = () => { const { t } = 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()) ); function validateDateString(value: string) { let error;