Bug 450430

Summary: misspelled time zone for Arizona, USA
Product: [Fedora] Fedora Reporter: Ben Liblit <liblit>
Component: libgweatherAssignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9Keywords: EasyFix, Patch
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-06-17 02:31:11 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:
Attachments:
Description Flags
patch to fix the misspelled time zone none

Description Ben Liblit 2008-06-08 08:48:14 UTC
Description of problem:

The time zone for cities in Arizona, USA should be "America/Phoenix", but
"/usr/share/libgweather/Locations.xml" misspels this as "America/Pheonix". 
There is no such city as "Pheonix" and no such time zone abbreviation as
"America/Pheonix".  This misspelling prevents users from adding Arizona cities
to the "Locations" tab of the "Clock Preferences" dialog.

Version-Release number of selected component (if applicable):

libgweather-2.22.1.1-3.fc9.i386

How reproducible:

100% reproducible

Steps to Reproduce:
1. Bring up the "Clock Preferences" dialog.
2. Select the "Locations" tab.
3. Click "Add".
4. In the new, unnamed dialog, click "Find".
5. In the new, unnamed dialog, select North America -> United States -> Arizona
-> Tucson -> Tucson.
6. Click "OK" to dismiss the second unnamed dialog.
7. Back in the first unnamed dialog, observe that the time zone is incorrectly
given as "America/Pheonix".
8. Click "OK" to dismiss the first unnamed dialog.
  
Actual results:

Tucson is not added to the list of locations in the "Locations" tab of the
"Clock Preferences" dialog.

Expected results:

Tucson's time zone should have been given as "America/Phoenix", not
"America/Pheonix".  Tucson should have been added to the list of locations in
the "Locations" tab of the "Clock Preferences" dialog.

Additional info:

In step 7 above, if one manually corrects the time zone to "America/Phoenix",
then Tucson is added to the list of locations in the "Locations" tab of the
"Clock Preferences" dialog as expected.

Comment 1 Ben Liblit 2008-06-08 08:48:15 UTC
Created attachment 308641 [details]
patch to fix the misspelled time zone

Comment 2 Matthias Clasen 2008-06-17 02:31:11 UTC
This should be already fixed in libgweather-2.22.2-1.fc9