README revision 7c478bd95313f5f23a4c958a745db2134aa03244
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonCopyright 2004 Sun Microsystems, Inc. All rights reserved.
09b91abda476c2d55579c8fc3c1a079ef2f9f423Michael GraffUse is subject to license terms.
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafsson#ident "%Z%%M% %I% %E% SMI"
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonThe /usr/share/lib/zoneinfo/src directory contains zoneinfo timezone source
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonfiles. These source files have been compiled using zic(1M) to create
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonthe zoneinfo data files in /usr/share/lib/zoneinfo. The zic command can be
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonused with the zoneinfo source files to create additional data files.
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonThe zoneinfo files track the Olson public source provided at
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonftp://elsie.nci.nih.gov/pub/, therefore zoneinfo files may be added and
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonremoved as the Solaris source is updated. The current Solaris release of
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonthe zoneinfo files is based on tzdata2004g.tar.gz.
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonThe /usr/share/lib/zoneinfo/GMT[+-]* timezones listed below have been
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonremoved from the release. Replace usage of the
d90b16946fddf2a3b57137ebfddcf2746e0c2e17Andreas Gustafsson/usr/share/lib/zoneinfo/GMT[+-]* files with the equivalent quoted timezone
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafsson(see environ(5)). Note the signs of the offsets of the equivalent quoted
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssontimezone are reversed from the signs of the /usr/share/lib/zoneinfo/GMT[+-]*
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonFor example, replace TZ=:GMT+1, with TZ="<GMT-1>-1". (The colon (:) is
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonsignificant. Without the colon, for example TZ=GMT+1, an unquoted timezone
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonis used; unquoted timezones are not affected by the removal of the zoneinfo
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssontimezone files listed below.)
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonThe following files have been removed from the release:
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonAs zoneinfo timezones are updated, the savings/daylight transition rules
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonand timezone name abbreviations may change. This can affect how
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonthe times are calculated in the local timezone. Therefore the interpretation
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonof a time_t value can vary amongst Solaris releases that use different
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonversions of the zoneinfo timezones.
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonThe zoneinfo timezone data files do not transition past
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas GustafssonTue Jan 19 03:14:07 2038 GMT. Therefore for 64-bit applications using
7386586e114462879055224eb4a07b073abd9772Andreas Gustafssonzoneinfo timezones, calculations beyond this date may not use the correct
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafssonoffset from standard time, and could return incorrect values. This affects
4cd3d6df39927315e3fadc07a8da3788175f4195Andreas Gustafsson64-bit versions of interfaces such as ascftime(3C), cftime(3C), ctime(3C),
7386586e114462879055224eb4a07b073abd9772Andreas Gustafssongetdate(3C), ftime(3C), mktime(3C), and localtime(3C).
7386586e114462879055224eb4a07b073abd9772Andreas GustafssonFor more information see zic(1M), zdump(1M), environ(5), TIMEZONE(4),
7386586e114462879055224eb4a07b073abd9772Andreas Gustafssonctime(3C), and mktime(3C) man pages.