Not to mention, that even if a mother can't breastfeed up to two years of age, formua isn't recommended or necessary after 12 months. To quote
This is a terrible idea. Infants and toddlers do not need formula—they need to transition from mother's milk to eating nutritious table foods, drinking milk, and developing healthy eating behaviors
It is not likely to bode well for subsequent eating habits and food preferences.