Gay workers will get time to care for partner's sick child