Sun Java System Calendar Server 6.3 Administration Guide

19.2 Managing Calendar Server Time Zones

This section contains conceptual information and instructions on how to manage time zones.

This section contains the following topics:

19.2.1 Adding a New Time Zone

This section describes how to add a new time zone to Calendar Server, so that it is available in the Communications Express user interface. For example, you might want to add a new time zone for America/Miami.

The simplest way to add a new time zone is to copy and edit time-zone entries that are similar to the time zone you want to add in each of the files described in the following steps. For example, if you want to add a time zone for America/Miami, copy and edit the time-zone entries in each file for America/New_York. If your new time zone has Daylight Savings Time (DST), try to find a similar block to copy.

19.2.2 Modifying an Existing Time Zone

This section describes how to modify an existing time zone. For example, you might want to change the name of a time zone, such as “America/Phoenix” to “US/Arizona”.

ProcedureTo Modify an Existing Time Zone

  1. Modify the time-zone block for the time zone you want to change in the following file:

    /etc/optSUNWics5/config/timezones.ics

    If you are changing a time-zone name, change the TZID entry to the new name.

  2. Modify the getDisplayNameofTZID template in the following file:

    cal-svr-base/SUNWics5/cal/html/language/i18n.xsl

    where: language specifies the directory for the language your site is using. For example: en for English or fr for French.

    If you are changing the name, change the existing time-zone name to the new name.

  3. Modify the following XML files for changes to the time zone:

    cal-svr-base/SUNWics5/cal/html/change_timezone.xml

    cal-svr-base/SUNWics5/cal/html/new_cal.xml

    cal-svr-base/SUNWics5/cal/html/new_group.xml

    For information about the entries in these files, see 19.2.1 Adding a New Time Zone.

  4. If the change affects the default time zone for user preferences, modify the “icsTimeZone” entry in the following file:

    cal-svr-base/SUNWics5/cal/html/default_user_prefs.xml


    Note –

    Steps 2, 3, and 4 are required only if you use the Calendar Express user interface.


  5. Stop (if necessary) and then restart Calendar Server for your time zone changes to take effect.