Bug 567178 - satellite timezone displays wft when local timezone for a user is set to New Zealand
Summary: satellite timezone displays wft when local timezone for a user is set to New ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2010-02-22 04:21 UTC by Michael Kearey
Modified: 2018-11-14 17:21 UTC (History)
4 users (show)

Fixed In Version: spacewalk-java-1.2.24-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 15:01:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.