In South Africa all employees are entitled to AT LEAST 4 consecutive months of maternity leave, up to 1 month prior to giving birth, or earlier if a doctor says so. You're also required by law not to return to work for at least 6 weeks post giving birth, unless a doctor okay's it.
http://www.labour.gov.za/DOL/legislation/acts/basic-guides/b...