My employer is now stating that it must count years spent on maternity leave as 'in the job' experience in any promotion decisions, or suchlike.
...and employers are now advised not to advertise job specs by saying anything like "must have x years of experience" due to the legislation against age discrimination introduced a few months ago.