From: Charles Hedrick (hedrick@geneva.rutgers.edu)
Date: 02/26/93


From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Subject: Re: Time zone
Date: 27 Feb 1993 03:46:30 GMT

nshomron@magnus.acs.ohio-state.edu (Noam Shomron) writes:

>how do you configure Linux to recognize the correct timezone????

You have two choices:
  1) install the correct /usr/lib/zoneinfo/localtime
  2) install the correct /usr/lib/zoneinfo/posixrules, and then
        set the TZ environment variable. posixrules is needed
        before the TZ variable will be interpreted
Ideally, do both.

This stuff is in tsx-11:/pub/linux/binaries/usr.bin/timebin.tar.Z
(with source in sources timesrc). This file contains the zoneinfo
files and time.doc, which contains installation instructions. Now
that the libraries and standard utilities have all the right code, you
don't need some of what is in timebin. But it will have copies of the
files for zoneinfo.

I've asked Hlu to make sure that at least posixrules is distributed
with the next release of libc. (Note that posixrules is the same for
everybody, so it's easy to include it in the distribution. localtime
depends upon the time zone, so to distribute it, you really need to
distribute the whole set of zones, and let the user copy or link the
right one to localtime.) If you have access to a Sun or other
bsd-based system, you can take the files from there. On my Sun it's
in /usr/share/lib/zoneinfo.

Aren't these files included with SLS?