Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to edit timezone list?

We have three timezones using RTC. We would like to edit the timezone list that appears in the user editor to show only the 3 valid time zones so people stop picking the wrong ones. :) Is there any way to edit this list of time zones? The list is coming from somewhere - hopefully we can edit it.

0 votes



2 answers

Permanent link
Really? No one knows where this is stored?

0 votes


Permanent link
Ok, I have some info. Still not sure what to do with it.

Timezone data is stored in data files in the directory "/usr/share/zoneinfo"

However, the timezones appear to be further configured by the file "tzmappings" located in the directory "/opt/app/jazz/server/jre/lib"

It is possible deleting some data files from "/usr/share/zoneinfo" would drop the timezones from the list, but I do not have root permissions on the server. Anything above /opt/app/jazz I cannot remove or overwrite.

I tried editing the "tzmappings" file, but that appeared to have no affect. It also has the following warning in the file:

# @(#)tzmappings 1.5 01/03/18
# This table describes mappings between Solaris time zone IDs and Java time zone
# IDs. Fields are separated by a single TAB ('\t'). Lines must be in the ascending
# order in ASCII. (non-ASCII characters can't be used.)
# NOTE
# This table format is not a public interface of any Java
# platforms. No applications should depend on this file in any form.
# This file has been generated using programs. Do not edit this file manually.

What programs are used to edit the tzmappings file? This appears to be a secret as I could find no reference by Googling it.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 12 '11, 2:03 p.m.

Question was seen: 5,902 times

Last updated: May 12 '11, 2:03 p.m.

Confirmation Cancel Confirm