Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add date of birth to profile table #332

Closed
rolandgeider opened this issue Sep 21, 2016 · 8 comments
Closed

Add date of birth to profile table #332

rolandgeider opened this issue Sep 21, 2016 · 8 comments

Comments

@rolandgeider
Copy link
Member

This is mostly useful for gyms, the user's date of birth should be added to the profile table. The main problem is that there is already a field "age", which is simply an integer and is populated from the calories calculator. Users should be able to edit the exact date of birth, but should also be able to just enter the years. There should be some automatism so that if a new date is entered, the age field is automatically updated. I'm not sure what would be a correct behaviour in the opposite case, if the age in entered but contradicts the date, perhaps just ignore it? There also needs to be validation, e.g. allowing values between 10 and 99 years.

@cherya
Copy link

cherya commented Oct 24, 2016

@rolandgeider Where it should be? Is it pre_save signal?

@rolandgeider
Copy link
Member Author

Yeah, that would be the place

@dtopal
Copy link
Contributor

dtopal commented Feb 14, 2017

@rolandgeider Where do you want users to enter their date of birth?

@rolandgeider
Copy link
Member Author

@dtopal I'd say in the profile page and for gym administrators when adding members

@ehmadzubair
Copy link

@cherya Are you planning to take on this issue or should i?

@rolandgeider
Copy link
Member Author

rolandgeider commented Oct 20, 2017 via email

@JHerseth
Copy link

JHerseth commented Jan 7, 2018

@rolandgeider You forgot to close it ;)

@abskrj
Copy link

abskrj commented Oct 4, 2019

You forgot to close it. I spent around half an hour to add that feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants