Ukraine has more or less had electrical infrastructure going down on a daily basis for months. Likely a tad more prepared for routing around sudden destruction of equipment.
The curfew is there to curb the possibility of further attacks.
One country been in the state of war for 8 years, and another not (if you don't count one sided aerial bombing a war.)