Shanghai has extended local extra maternity leave for female employees and begun offering childcare leave to parents with children under the age of three.