pooping at night

Corinne
Ds had a stomach bug a few weeks ago, and is now still waking around 10-12 for a huge poop. I can't get him back in a regular schedule! Any advice how to get home back to normal time? It's making for horrible nights for an already horrible sleeper.