medic / cht-user-management

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

DoB input should support "numbers of years" #59

Closed kennsippell closed 3 months ago

kennsippell commented 5 months ago

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

Originally posted by @jonathanbataire in https://github.com/medic/cht-user-management/issues/41#issuecomment-1918429716