Rock
Rock copied to clipboard
Age on Edit Family Block Miscalculating
Description
When you have a person who is missing a birth year in their birthdate, their age is miscalculated on the edit family block.
Actual Behavior
An age is being calculated even without a birthyear on the Family Edit Block.
When you then go and edit the family you will see an inaccurate age displayed. It seems to be calculating starting at the year 1801 if a birth year is not given.
Expected Behavior
Family Edit Block would would not display an age for that person without a birth year. This is how previous versions of Rock prior to v16 functioned.
Steps to Reproduce
- Go to a person's profile and remove the birth year from their profile.
- Click on the pencil on the family to begin editing the family
- See error in age calculation.
Issue Confirmation
- [X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
- [X] Try to reproduce the problem on a fresh install or on the demo site.
Rock Version
16.2, 16.5 Alpha
Client Culture Setting
en-us