Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use correct date form for birthday
Roland Geider1664ed619633
diff --git a/wger/core/forms.py b/wger/core/forms.pyindex 9e17b1e67..f05d02082 100644--- a/wger/core/forms.py+++ b/wger/core/forms.py@@ -132,6 +132,7 @@ class UserPreferencesForm(forms.ModelForm):label=gettext_lazy('Date of Birth'),required=False,widget=forms.DateInput(+ format='%Y-%m-%d',attrs={'type': 'date','max': str(date(date.today().year - 10, 1, 1)),