datlechin Thanks for fixing it so fast. It works as expected now with Flarum 1.1.x. I am changing my SMF-Import-Script i am currently working on to use this extension for birthdays. 😃
I discovered some more small errors.
age = new Date().getFullYear() - new Date(birthday).getFullYear();
You are not using date and month of birth to determine the age. The Age in the screenshot above should be 21 not 22.
Also if the first option Show day and month of birth is deactivated, i can not activate the second option Show year of birth to show only the age.
And if i deactivate Show year of birth, the age disappears, but the year in the birthday is still visible.