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).

** Also affects: geoip (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: geoip (Ubuntu)
       Status: New => Triaged

** Changed in: geoip (Ubuntu)
   Importance: Undecided => Medium

-- 
Default setting of zh_CN locale incorrect
https://bugs.launchpad.net/bugs/517621
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to