My 3 week old is not feeling well

🌺Brittany🌺

So apparently my 3 week old baby girl has a stomach virus 😔 she has been having really runny bowel movements and they're a really weird green shade and smell unusually awful she's been completely normal other then that tho lucky ! Her pediatrician recommends I give her the clear pedialyte for 8 hours is this common to give newborns ? I never had this problem with my son.