Before:
2005, Indian passport application forms were updated with three gender options: M, F, and E (for male, female, and eunuch, respectively).1
2009, Iftikhar Muhammad Chaudhry, the Chief Justice of Pakistan, ordered that the National Database and Registration Authority issue national identity cards to members of the hijra community showing their "distinct" gender.2
2011, Australia passport holders can use "X" as their gender.3
After:
2012, New Zealand passport holders can use "X" as their gender.4
Also, historical documents have mentioned more than 2 genders, such as:
Inscribed pottery shards from Egypt (2000–1800 BCE) list three human genders.5
Kama Sutra (c. 4th century AD) as pums-prakrti (male-nature), stri-prakrti (female-nature), and tritiya-prakrti (third-nature).6
the Manu Smriti (c. 200 BC – 200 AD) explains the biological origins of the three sexes.7
1 'Third sex' finds a place on Indian passport forms
2 Pakistani eunuchs to have distinct gender
3 Getting a passport made easier for sex and gender diverse people
4 Information about Changing Sex / Gender Identity
5 Sethe, Kurt, (1926), Die Aechtung feindlicher Fürsten, Völker und Dinge auf altägyptischen Tongefäßscherben des mittleren Reiches, in: Abhandlungen der Preussischen Akademie der Wissenschaften, Philosophisch-Historische Klasse, 1926, p. 61.
6 Kama Sutra
7 Manu Smriti