My DD does this every so often - accelerated digestive transit, that is. Baked beans and raisins are the usual culprits. Maybe not as quickly as your DD, but definitely within a couple of hours. (She's 20 months BTW.)
She's always fine afterwards so I tend to ignore it.