#HalachaYomi KSA 219:5 Buried his dead or got news of relatives’ death on YomTov or HolHamoed, mourning laws don’t apply until after YomTov.