README revision 8e4c1c4584949e19515ea0ab6dabe97a828dedf7
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian MaederCopyright 2008 Sun Microsystems, Inc. All rights reserved.
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian MaederUse is subject to license terms.
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian Maeder
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian MaederThe /usr/share/lib/zoneinfo/src directory contains zoneinfo timezone source
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskifiles. These source files have been compiled using zic(1M) to create
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian Maederthe zoneinfo data files in /usr/share/lib/zoneinfo. The zic command can be
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian Maederused with the zoneinfo source files to create additional data files.
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian Maeder
0b7c8279c741857d1681160f8b4144a9430ffa7fTill MossakowskiThe zoneinfo files track the Olson public source provided at
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskiftp://elsie.nci.nih.gov/pub/, therefore zoneinfo files may be added and
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskiremoved as the Solaris source is updated. The current Solaris release of
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskithe zoneinfo files is based on tzdata2008i.tar.gz.
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski
0b7c8279c741857d1681160f8b4144a9430ffa7fTill MossakowskiThe /usr/share/lib/zoneinfo/GMT[+-]* timezones listed below have been
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskiremoved from the release. Replace usage of the
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT[+-]* files with the equivalent quoted timezone
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski(see environ(5)). Note the signs of the offsets of the equivalent quoted
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskitimezone are reversed from the signs of the /usr/share/lib/zoneinfo/GMT[+-]*
d1126d58419412635564085406d3779325b33ae0Till Mossakowskifiles.
c9eec96d66e1fd90bcfe5e2b8a814be269341e13Till Mossakowski
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill MossakowskiFor example, replace TZ=:GMT+1, with TZ="<GMT-1>-1". (The colon (:) is
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowskisignificant. Without the colon, for example TZ=GMT+1, an unquoted timezone
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowskiis used; unquoted timezones are not affected by the removal of the zoneinfo
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskitimezone files listed below.)
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski
0b7c8279c741857d1681160f8b4144a9430ffa7fTill MossakowskiThe following files have been removed from the release:
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-12
e8d782e6e650b71a2b0ee8461fd8d9fa31525591Christian Maeder/usr/share/lib/zoneinfo/GMT-11
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-10
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-9
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-8
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-7
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-6
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-5
23597b1c1c9b84115e0f49b809ac152f250dca87Christian Maeder/usr/share/lib/zoneinfo/GMT-4
23597b1c1c9b84115e0f49b809ac152f250dca87Christian Maeder/usr/share/lib/zoneinfo/GMT-3
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-2
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT-1
891a081e38584dfb59697349fbf0aba2c4d4e1e2Christian Maeder/usr/share/lib/zoneinfo/GMT+1
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT+2
0b2340d1ef7d0998e4b0c321021be942c6b67652Christian Maeder/usr/share/lib/zoneinfo/GMT+3
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT+4
0b2340d1ef7d0998e4b0c321021be942c6b67652Christian Maeder/usr/share/lib/zoneinfo/GMT+5
0b2340d1ef7d0998e4b0c321021be942c6b67652Christian Maeder/usr/share/lib/zoneinfo/GMT+6
c0b6cd35d7f5da7483964a378fefc3bb0f519d9eTill Mossakowski/usr/share/lib/zoneinfo/GMT+7
0b2340d1ef7d0998e4b0c321021be942c6b67652Christian Maeder/usr/share/lib/zoneinfo/GMT+8
c0b6cd35d7f5da7483964a378fefc3bb0f519d9eTill Mossakowski/usr/share/lib/zoneinfo/GMT+9
c0b6cd35d7f5da7483964a378fefc3bb0f519d9eTill Mossakowski/usr/share/lib/zoneinfo/GMT+10
0b2340d1ef7d0998e4b0c321021be942c6b67652Christian Maeder/usr/share/lib/zoneinfo/GMT+11
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT+12
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski/usr/share/lib/zoneinfo/GMT+13
bd5ff898eef380d414edd0e8e392da280d35e047Christian Maeder
2b4130336e941b7d01c78a6da55449a4c6eca609Till MossakowskiAs zoneinfo timezones are updated, the savings/daylight transition rules
bd5ff898eef380d414edd0e8e392da280d35e047Christian Maederand timezone name abbreviations may change. This can affect how
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskithe times are calculated in the local timezone. Therefore the interpretation
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskiof a time_t value can vary amongst Solaris releases that use different
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskiversions of the zoneinfo timezones.
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowski
0b7c8279c741857d1681160f8b4144a9430ffa7fTill MossakowskiThe zoneinfo timezone data files do not transition past
23597b1c1c9b84115e0f49b809ac152f250dca87Christian MaederTue Jan 19 03:14:07 2038 GMT. Therefore for 64-bit applications using
0b7c8279c741857d1681160f8b4144a9430ffa7fTill Mossakowskizoneinfo timezones, calculations beyond this date may not use the correct
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowskioffset from standard time, and could return incorrect values. This affects
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowski64-bit versions of interfaces such as ascftime(3C), cftime(3C), ctime(3C),
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowskigetdate(3C), ftime(3C), mktime(3C), and localtime(3C).
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowski
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill MossakowskiFor more information see zic(1M), zdump(1M), environ(5), TIMEZONE(4),
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowskictime(3C), and mktime(3C) man pages.
8731f7b93b26083dc34a2c0937cd6493b42f2c2cTill Mossakowski