Bug 439213

Summary: clock's timezone-guessing heuristics are usually wrong
Product: [Fedora] Fedora Reporter: Dan Winship <danw>
Component: gnome-panelAssignee: Dan Winship <danw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-14 15:05:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Winship 2008-03-27 15:44:25 UTC
If you create a location for Atlanta in the clock applet (eg, North America ->
US -> Georgia -> Atlanta -> Hartsfield Airport), the clock guesses
"America/Kentucky/Monticello" for the time zone, rather than the correct
"America/New York".

It looks like it's picking the time zone that is centered on the point closest
to the selected location. Unfortunately, most cities in the eastern US are
closer to one of the goofy microtimezones in Indiana or Kentucky than they are
to New York or Chicago, where their real timezone is "headquartered". And while
there probably *are* people in Miami who operate on the "America/Havana" time
zone, it's probably not a good first guess. :-)

If we don't actually have information about the geographical extent of the
timezones, we should probably just avoid guessing completely.

Comment 1 Matthias Clasen 2008-03-28 01:25:03 UTC
Yes, this could be improved. For large parts of the world, we can probably get
by simply by using the country information that is available in the weather
locations database.

Comment 2 Matthias Clasen 2008-04-01 17:32:40 UTC
Upstream bug where this issue is being worked on:
http://bugzilla.gnome.org/show_bug.cgi?id=519823

Comment 3 Dan Winship 2008-04-04 19:26:17 UTC
To fix this, we need:

http://bugzilla.gnome.org/show_bug.cgi?id=526015 (libgweather)
move gweather-xml parsing code to libgweather

http://bugzilla.gnome.org/show_bug.cgi?id=526216 (gnome-applets)
move gweather-xml parsing code to libgweather

http://bugzilla.gnome.org/show_bug.cgi?id=525451 (libgweather)
add iso 3166 codes (and timezone hints)

http://bugzilla.gnome.org/show_bug.cgi?id=519823 (gnome-panel)
Cities associated with wrong timezone

and we should also take:

http://bugzilla.gnome.org/show_bug.cgi?id=525761 (libgweather)
"Louisiana" consistently misspelled as "Lousiana"



Comment 4 Bug Zapper 2008-05-14 08:19:36 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Dan Winship 2008-10-14 15:05:04 UTC
this was actually fixed for F9, but never got closed