Fix bug when the birthday is empty

Check if birthday is nil before use strftime