Bug 174918 - 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".
Summary: Chinese environment, "Indian / Christmas" and "Pacific / Kiritimati" have the...
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 04:52 UTC by leopeng
Modified: 2010-03-31 00:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fixed bug 174918 (1.29 KB, patch)
2008-11-12 05:30 UTC, leopeng
Details

Note You need to log in before you can comment on or make changes to this bug.
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