6 months of breastfeeding

Ri

My goal is to breastfeed for 6 months and I have one month down already but I have been hearing from family and friends that I need to be BF an entire year. My oldest daughter is 4 years old and I BF her for 4 months but it started getting difficult with work since I was working 2 jobs it was hard to continue to BF. This time I am a stay at home mom so is it bad that my goal is only 6 months? I feel like I am being judged when I feel like as long as baby is feed no matter breast or formula that's all that should matter. 😢😭