The naming convention
for
/etc/zoneinfo/
time zone directories and files has
changed from the former COUNTRY/ZONE style (for example, US/Eastern) to the
more stable AREA/LOCATION format (for example, America/New_York), where AREA
is the name of a continent or ocean, and LOCATION is the name of a specific
location (major city, locale, and so on within that region).
All previous
/etc/zoneinfo/
directories and time zone files are available, for
compatibility; however, many of the files are now hard links to their renamed
counterparts.
Obsolete time zone mappings are provided for reference in
Table B-2.
The time zone data file format has been expanded to handle more complex
transition rules.
(See the
tzfile
(4)
reference page for details.) The
zic
compiler
zdump
command and several time-related
functions in the standard C library have been updated to support the expanded
time zone data file format.
While the time zone data file format has been expanded to support additional transition rules, time zone data files created on prior versions of the operating system will work without recompilation. This provides support for user-generated time zone data files, which may or may not have original source code.
Conversely, static applications created on prior versions of the operating
system and that reference time zone data will be able to process
most of the new time zone data files in the
/etc/zoneinfo/
directory.
They will not take advantage of the new time zone data file extensions,
but will still read and process the portions of these files they did previously.
However, due to the expanded number of time transition types available in
the new time zone data files, certain older static applications will not be
able to read the new time zones listed in
Table B-1.
Table B-1: Incompatible New Time Zones
Asia/Aqtobe | Atlantic/Azores | Europe/Monaco |
Asia/Aqtau | Atlantic/Madeira | Europe/Moscow |
Asia/Baku | Europe/Amsterdam | Europe/Paris |
Asia/Riyadh87 | Europe/Kaliningrad | Europe/Riga |
Asia/Riyadh88 | Europe/Kiev | Europe/Samara |
Asia/Riyadh89 | Europe/Lisbon | Europe/Simferopol |
Asia/Tbilisi | Europe/Ljubljana | Europe/Tallinn |
Asia/Yekaterinburg | Europe/Luxembourg | Europe/Vilnius |
Asia/Yerevan | Europe/Minsk |
Enablers were added to Version 4.0D of the operating system to allow the new time zones to be read; therefore, static applications built on Version 4.0D or later releases will not have problems with these files. It is important to note that none of the time zones listed in Table B-1 existed on versions of the operating system prior to Version 5.0. It is, therefore, unlikely that any existing applications reference any of the time zones listed.
Shared applications are not affected by the issue above, because they automatically pick up the new time zone data file support in Version 4.0D and later versions of the operating system.
Table B-2
provides a mapping of the old time
zones to the new time zones.
Table B-2: Mapping of the Old Time Zones to New Time Zones
Obsolete Time Zone | New Time Zone |
Australia/ACT | Australia/Sydney |
Australia/LHI | Australia/Lord_Howe |
Australia/NSW | Australia/Sydney |
Australia/North | Australia/Darwin |
Australia/Queensland | Australia/Brisbane |
Australia/South | Australia/Adelaide |
Australia/Tasmania | Australia/Hobart |
Australia/Victoria | Australia/Melbourne |
Australia/West | Australia/Perth |
Australia/Yancowinna | Australia/Broken_Hill |
Belfast | Europe/Belfast |
Brazil/Acre | America/Porto_Acre |
Brazil/DeNoronha | America/Noronha |
Brazil/East | America/Sao_Paulo |
Brazil/West | America/Manaus |
Canada/Atlantic | America/Halifax |
Canada/Central | America/Winnipeg |
Canada/East-Saskatchewan | America/Regina |
Canada/Eastern | America/Montreal |
Canada/Mountain | America/Edmonton |
Canada/Newfoundland | America/St_Johns |
Canada/Pacific | America/Vancouver |
Canada/Saskatchewan | America/Regina |
Canada/Yukon | America/Whitehorse |
Chile/Continental | America/Santiago |
Chile/EasterIsland | Pacific/Easter |
Cuba | America/Havana |
Dublin | Europe/Dublin |
Egypt | Africa/Cairo |
GB-Eire | Europe/London |
GMT | Etc/GMT |
GMT+0 | Etc/GMT+0 |
GMT+1 | Etc/GMT+1 |
GMT+10 | Etc/GMT+10 |
GMT+11 | Etc/GMT+11 |
GMT+12 | Etc/GMT+12 |
GMT+13 | Etc/GMT+13 |
GMT+2 | Etc/GMT+2 |
GMT+3 | Etc/GMT+3 |
GMT+4 | Etc/GMT+4 |
GMT+5 | Etc/GMT+5 |
GMT+6 | Etc/GMT+6 |
GMT+7 | Etc/GMT+7 |
GMT+8 | Etc/GMT+8 |
GMT+9 | Etc/GMT+9 |
GMT-0 | Etc/GMT-0 |
GMT-1 | Etc/GMT-1 |
GMT-10 | Etc/GMT-10 |
GMT-11 | Etc/GMT-11 |
GMT-12 | Etc/GMT-12 |
GMT-2 | Etc/GMT-2 |
GMT-3 | Etc/GMT-3 |
GMT-4 | Etc/GMT-4 |
GMT-5 | Etc/GMT-5 |
GMT-6 | Etc/GMT-6 |
GMT-7 | Etc/GMT-7 |
GMT-8 | Etc/GMT-8 |
GMT-9 | Etc/GMT-9 |
GMT0 | Etc/GMT0 |
GMT1 | Etc/GMT+1 |
GMT10 | Etc/GMT+10 |
GMT11 | Etc/GMT+11 |
GMT12 | Etc/GMT+12 |
GMT13 | Etc/GMT+13 |
GMT2 | Etc/GMT+2 |
GMT3 | Etc/GMT+3 |
GMT4 | Etc/GMT+4 |
GMT5 | Etc/GMT+5 |
GMT6 | Etc/GMT+6 |
GMT7 | Etc/GMT+7 |
GMT8 | Etc/GMT+8 |
GMT9 | Etc/GMT+9 |
Greenwich | Etc/Greenwich |
Hongkong | Asia/Hong_Kong |
Iceland | Atlantic/Reykjavik |
Iran | Asia/Tehran |
Israel | Asia/Jerusalem |
Jamaica | America/Jamaica |
Japan | Asia/Tokyo |
Libya | Africa/Tripoli |
London | Europe/London |
Mexico/BajaNorte | America/Tijuana |
Mexico/BajaSur | America/Mazatlan |
Mexico/General | America/Mexico_City |
NZ | Pacific/Auckland |
NZ-CHAT | Pacific/Chatham |
Navajo | America/Denver |
PRC | Asia/Shanghai |
Poland | Europe/Warsaw |
ROC | Asia/Taipei |
ROK | Asia/Seoul |
Singapore | Asia/Singapore |
Turkey | Europe/Istanbul |
UCT | Etc/UCT |
US/Alaska | America/Anchorage |
US/Aleutian | America/Adak |
US/Arizona | America/Phoenix |
US/Central | America/Chicago |
US/East-Indiana | America/Indianapolis |
US/Eastern | America/New_York |
US/Hawaii | Pacific/Honolulu |
US/Indiana-Starke | America/Indiana/Knox |
US/Michigan | America/Detroit |
US/Mountain | America/Denver |
US/Pacific | America/Los_Angeles |
US/Samoa | Pacific/Pago_Pago |
UTC | Etc/UTC |
Universal | Etc/Universal |
W-SU | Europe/Moscow |
Zulu | Etc/Zulu |