Stomach bug at 7 months

Yal

My baby is 7 months old. Going to day care. He's having stomach bug for the past 5 days. Went to check with his doctor and he said, it should clear up within 14 days or so. He's breast fed. So doctor advised me to stop taking dairy products to help with his loose stools, until his recovery.

I wanted to check with anyone who has gone through this. Does it take almost 2 weeks to clear up? Any tips/advice to help my baby through this? My baby seems less interested in feeding. And very cranky. I'm sleep deprived too.