etcetera (204298) | etcetera (219687) |
---|---|
1# <pre> | 1# <pre> |
2# @(#)etcetera 8.2 | 2# @(#)etcetera 8.3 |
3# This file is in the public domain, so clarified as of 4# 2009-05-17 by Arthur David Olson. 5 6# These entries are mostly present for historical reasons, so that 7# people in areas not otherwise covered by the tz files could "zic -l" 8# to a time zone that was right for their area. These days, the 9# tz files cover almost all the inhabited world, and the only practical 10# need now for the entries that are not on UTC are for ships at sea --- 20 unchanged lines hidden (view full) --- 31# We use POSIX-style signs in the Zone names and the output abbreviations, 32# even though this is the opposite of what many people expect. 33# POSIX has positive signs west of Greenwich, but many people expect 34# positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses 35# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC 36# (i.e. west of Greenwich) even though many people would expect it to 37# mean 4 hours ahead of UTC (i.e. east of Greenwich). 38# | 3# This file is in the public domain, so clarified as of 4# 2009-05-17 by Arthur David Olson. 5 6# These entries are mostly present for historical reasons, so that 7# people in areas not otherwise covered by the tz files could "zic -l" 8# to a time zone that was right for their area. These days, the 9# tz files cover almost all the inhabited world, and the only practical 10# need now for the entries that are not on UTC are for ships at sea --- 20 unchanged lines hidden (view full) --- 31# We use POSIX-style signs in the Zone names and the output abbreviations, 32# even though this is the opposite of what many people expect. 33# POSIX has positive signs west of Greenwich, but many people expect 34# positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses 35# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC 36# (i.e. west of Greenwich) even though many people would expect it to 37# mean 4 hours ahead of UTC (i.e. east of Greenwich). 38# |
39# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation 40# (which is not yet supported by the tz code) allows for | 39# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for |
41# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to 42# ISO 8601 you can use TZ='<-0400>+4'. Thus the commonly-expected 43# offset is kept within the angle bracket (and is used for display) 44# while the POSIX sign is kept outside the angle bracket (and is used 45# for calculation). 46# 47# Do not use a TZ setting like TZ='GMT+4', which is four hours behind 48# GMT but uses the completely misleading abbreviation "GMT". --- 35 unchanged lines hidden --- | 40# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to 41# ISO 8601 you can use TZ='<-0400>+4'. Thus the commonly-expected 42# offset is kept within the angle bracket (and is used for display) 43# while the POSIX sign is kept outside the angle bracket (and is used 44# for calculation). 45# 46# Do not use a TZ setting like TZ='GMT+4', which is four hours behind 47# GMT but uses the completely misleading abbreviation "GMT". --- 35 unchanged lines hidden --- |