GNOME Bugzilla – Bug 734272
Timezone for Location Makassar is picked as Asia/Jakarta
Last modified: 2014-08-19 15:19:19 UTC
Despite having Asia/Makassar as tz-hint, the time zone for Makassar is taken wrongly as Asia/Jakarta. This happened in usage via gnome-clocks and might(?) be due to the position of tz-hint in the xml data structure or usage through gnome-clocks. No idea what goes wrong. stdout.printf ("Values: %s, %s\n", location.get_name(), location.get_timezone.get_tzid()); results to: Values: Makassar, Asia/Jakarta Excerpt of data/Locations.xml.in: <_name>Indonesia</_name> <!-- Could not find information about the following stations, which may be in Indonesia: WADD WALL WARR WARS WIDD WIPT --> <iso-code>ID</iso-code> <fips-code>ID</fips-code> <timezones> <timezone id="Asia/Jakarta"> <!-- The timezone on the western islands of Indonesia. The name in Indonesian is "Waktu Indonesia Bagian Barat". --> <_name>Western Indonesia Time</_name> <obsoletes>Asia/Pontianak</obsoletes> </timezone> <timezone id="Asia/Makassar"> <!-- The timezone on the central islands of Indonesia. The name in Indonesian is "Waktu Indonesia Bagian Tengah". --> <_name>Central Indonesia Time</_name> </timezone> <timezone id="Asia/Jayapura"> <!-- The timezone on the eastern islands of Indonesia. The name in Indonesian is "Waktu Indonesia Bagian Timur". --> <_name>Eastern Indonesia Time</_name> </timezone> </timezones> <tz-hint>Asia/Jakarta</tz-hint> <city> <!-- The capital of Indonesia --> <_name>Jakarta</_name> <coordinates>-6.174444 106.829444</coordinates> <location> <name>Soekarno-Hatta Airport</name> <code>WIII</code> <coordinates>-6.116667 106.650000</coordinates> </location> </city> <city> <!-- A city in Indonesia --> <_name>Makassar</_name> <coordinates>-5.140000 119.422100</coordinates> <location> <name>Hasanuddin Airport</name> <code>WAAA</code> <tz-hint>Asia/Makassar</tz-hint> <coordinates>-5.066667 119.550000</coordinates> </location> </city> <city>
This turned out to be a problem in the location database that affected several more cities. Fixed in master