Comment 8 for bug 517621

Revision history for this message
Colin Watson (cjwatson) wrote :

Oh my. I thought it would come from zone.tab, but I was wrong. Apparently geoip has its own hardcoded list of country->timezone mappings embedded in C code, which includes:

  else if ( strcmp (country, "CN") == 0 ) {
    timezone = "Asia/Chongqing";
  }

I'll open a bug task on geoip to indicate that this should change to Asia/Shanghai. Note that, in order to be effective, somebody will have to coordinate with the Canonical sysadmins to get the patch applied on geoip.ubuntu.com as well; I'm happy to do this if somebody gives me a nudge (e.g. on IRC).