medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Support for Date of Birth inputs #41

Closed kennsippell closed 5 months ago

kennsippell commented 5 months ago

31

Watch base branch when merging

image

kennsippell commented 5 months ago

Feedback from @jonathanbataire

Dob should support just a number of years old and infer from today's date

kennsippell commented 5 months ago

@jonathanbataire Thoughts?

jonathanbataire commented 5 months ago

@jonathanbataire Thoughts?

it should support both age as a number eg 37 and DoB in the yyyy-mm-dd format (at least in the generated json) for age once someone submits a number (37) we can use today's date to calculate dob and save that dob in the json support age because some people have no idea when their dob is but can tell their age

kennsippell commented 5 months ago

Waiting for #40 before merging