On regulated solutions of impulsive differential equations with variable times