Bug 174918

Summary: Chinese environment, "Indian / Christmas" and "Pacific / Kiritimati" have the same city name. so time zone list error. Time zone list of the index should be "city + Time zone".
Product: [Unmaintained] kdelibs Reporter: leopeng <leo1295>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: faure
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: fixed bug 174918

Description leopeng 2008-11-12 04:52:33 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Chinese environment, "Indian / Christmas" and "Pacific / Kiritimati" have the same city name. so time zone list error. Time zone list of the index should be "city + Time zone".
Comment 1 leopeng 2008-11-12 05:30:50 UTC
Created attachment 28507 [details]
fixed bug 174918
Comment 2 leopeng 2008-11-12 05:34:52 UTC
I hava fixed this bug, please see attachments " fixed bug 174918".
Comment 3 David Faure 2010-03-31 00:32:33 UTC
SVN commit 1109272 by dfaure:

Fix confusion during map lookup when two timezones are translated with the same "city" name.
Tested with this hack in displayName():
  if (zone.name() == "Indian/Christmas") return "Indian/XMAS"; if(zone.name() == "Pacific/Kiritimati") return "Pacific/XMAS";
Fixed for: 4.5
BUG: 174918


 M  +13 -11    ktimezonewidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1109272