Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 567178

Summary: satellite timezone displays wft when local timezone for a user is set to New Zealand
Product: Red Hat Satellite 5 Reporter: Michael Kearey <mkearey>
Component: Configuration ManagementAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Dimitar Yordanov <dyordano>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry, dyordano, psklenar, wmealing
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.24-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 15:01:17 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:
Bug Depends On:    
Bug Blocks: 487678    

Description Michael Kearey 2010-02-22 04:21:13 UTC
Description of problem:
When you select 'New Zealand' as a timezone (Locale Preferences), then check anything that shows a timestamp, the timezone is displayed as 'WFT'.



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


How reproducible:
100%

Steps to Reproduce:
1. Install RHN Satellite
2. Select New Zealand in Locale preferences for a user
3.
  
Actual results:
the timezone is displayed as 'WFT'.

Expected results:
Should display as 'NZDT', during daylight saving periods, and 'NZST' during all others

Additional info:

- It just so happens that Pacific/Wallis (WFT) is the only zone in New Zealand that does not have daylight saving. 

- A limitation of the Satellite right now is that it cannot display the massive number of Time Zones available world wide, so we have a small subset of the zones available. The specific zones chosen must have been decided based on some selection criteria I think. Hence Pacific/Wallis is probably a good choice for New Zealand wide as it won't involve DST at all.


- To add a new zone to be available in the drop down menu on the Satellite we need to add it in :
   /*schema/rhn/tables/rhnTimezone_data.sql   for example:

insert into rhnTimezone
(id, olson_name, display_name)
values
(rhn_timezone_id_seq.nextval,
 'Pacific/Auckland', 'New Zealand(NZST-NZDT)');


As well as add the strings lookup so the entry is displayed nicely in the menu by editing the file in source:

     java/rhn/rhn-common/src/main/resources/com/redhat/rhn/frontend/strings/database/StringResource_en_US.xml

ie :

   <trans-unit id="Pacific/Auckland">
<source>(GMT+1200) New Zealand(NZST-NZDT)</source>
       <context-group name="ctx">
         <context context-type="sourcefile">/rhn/account/UserDetails</context>
       </context-group>
   </trans-unit>

Comment 3 Tomas Lestach 2010-09-03 12:45:40 UTC
adding Pacific/Auckland time zone

spacewalk.git: 9d4ea32beb18622a17f539c2f5c1543f84dd8981

Comment 5 Dimitar Yordanov 2010-09-23 12:52:11 UTC
I have just reproduced the issue on Satellite 5.3 and verified the changes on Satellite 5.4 spacewalk-java-1.2.39-9.el5sat.

Dimi

Comment 7 Clifford Perry 2010-10-28 14:56:12 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford