After some quick investigation, I found that gnome-control-center pulls its data directly from the zone.tab file, just like Paul Eggert warned against doing in the comment I quoted above.
in tz.h (https://github.com/GNOME/gnome-control- center/blob/5532301ce76d2719c1105c61f576abe7fae2dc16/panels/datetime/tz.h) # define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab" in tz.c (https://github.com/GNOME/gnome-control- center/blob/5532301ce76d2719c1105c61f576abe7fae2dc16/panels/datetime/tz.c) static gchar * tz_data_file_get (void) { gchar *file; file = g_strdup (TZ_DATA_FILE); return file; } [...] TzDB * tz_load_db (void) { g_autofree gchar *tz_data_file = NULL; TzDB *tz_db; FILE *tzfile; char buf[4096]; tz_data_file = tz_data_file_get (); if (!tz_data_file) { g_warning ("Could not get the TimeZone data file name"); return NULL; } tzfile = fopen (tz_data_file, "r"); if (!tzfile) { g_warning ("Could not open *%s*\n", tz_data_file); return NULL; } tz_db = g_new0 (TzDB, 1); tz_db->locations = g_ptr_array_new (); while (fgets (buf, sizeof(buf), tzfile)) { [PARSING CODE]. } fclose (tzfile); /* now sort by country */ sort_locations_by_country (tz_db->locations); /* Load up the hashtable of backward links */ load_backward_tz (tz_db); return tz_db; } -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1887107 Title: Missing entry for timezone database when setting timezone via the text search Status in gnome-control-center package in Ubuntu: New Bug description: I can't find Montreal in the timezone search box, even though it is present in the /usr/share/zoneinfo database. What I did: Settings > Time & Date > Time Zone > Click in the search box and start typing Mont... What I expected: Autocompletion. What happened: No completion found. $ lsb_release -rd Description: Ubuntu 20.04 LTS Release: 20.04 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-control-center 1:3.36.1-1ubuntu5 ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30 Uname: Linux 5.4.0-26-generic x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Thu Jul 9 23:59:01 2020 ExecutablePath: /usr/bin/gnome-control-center ProcEnviron: LANGUAGE=en_CA:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_CA.UTF-8 SHELL=/bin/bash SourcePackage: gnome-control-center UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1887107/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp