The node you are looking for is at Workaround - Changing time signatures inside a polymetric section using \scaleDurations.