Distinguish hyphen from minus from dashes.

Most of this patch is to commentary, to distinguish better among
the similar characters hyphen '-', minus sign '−', en dash '–' (used
for ranges), and em dash '—'.  Render ordinary dashes in text as
spaced en dashes, as this gives better-looking results in monospaced
fonts.
* yearistype.sh, zic.c: Reword diagnostics so that they do not use
hyphens as if they were dashes.  Since we are sticking to ASCII in
programs, we can't use proper dashes in diagnostics.
This commit is contained in:
Paul Eggert
2014-06-17 18:46:31 -07:00
parent 1d41c06051
commit a577b388f3
21 changed files with 758 additions and 752 deletions
+32 -32
View File
@@ -217,7 +217,7 @@ Zone Australia/Lord_Howe 10:36:20 - LMT 1895 Feb
# no times are set
#
# Macquarie
# Permanent occupation (scientific station) 1911-1915 and since 25 March 1948;
# Permanent occupation (scientific station) 19111915 and since 25 March 1948;
# sealing and penguin oil station operated Nov 1899 to Apr 1919. See the
# Tasmania Parks & Wildlife Service history of sealing at Macquarie Island
# <http://www.parks.tas.gov.au/index.aspx?base=1828>
@@ -226,7 +226,7 @@ Zone Australia/Lord_Howe 10:36:20 - LMT 1895 Feb
#
# From Steffen Thorsen (2010-03-10):
# We got these changes from the Australian Antarctic Division:
# - Macquarie Island will stay on UTC+11 for winter and therefore not
# Macquarie Island will stay on UTC+11 for winter and therefore not
# switch back from daylight savings time when other parts of Australia do
# on 4 April.
#
@@ -288,7 +288,7 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
# From Alexander Krivenyshev (2010-10-24):
# According to Radio Fiji and Fiji Times online, Fiji will end DST 3
# weeks earlier than expected - on March 6, 2011, not March 27, 2011...
# weeks earlier than expected on March 6, 2011, not March 27, 2011...
# Here is confirmation from Government of the Republic of the Fiji Islands,
# Ministry of Information (fiji.gov.fj) web site:
# http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=2608:daylight-savings&catid=71:press-releases&Itemid=155
@@ -554,8 +554,8 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# Please see
# http://www.mcil.gov.ws
# the Ministry of Commerce, Industry and Labour (sideframe) "Last Sunday
# September 2010 (26/09/10) - adjust clocks forward from 12:00 midnight
# to 01:00am and First Sunday April 2011 (03/04/11) - adjust clocks
# September 2010 (26/09/10) adjust clocks forward from 12:00 midnight
# to 01:00am and First Sunday April 2011 (03/04/11) adjust clocks
# backwards from 1:00am to 12:00am"
# From Laupue Raymond Hughes (2011-03-07):
@@ -586,8 +586,8 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# Reform Commission, and she has sent me a copy of the Bill that she
# confirmed has been passed...Most of the sections are about maps rather
# than the time zone change, but I'll paste the relevant bits below. But
# the essence is that at midnight 29 Dec (UTC-11 I suppose), Samoa
# changes from UTC-11 to UTC+13:
# the essence is that at midnight 29 Dec (UTC11 I suppose), Samoa
# changes from UTC11 to UTC+13:
#
# International Date Line Bill 2011
#
@@ -605,11 +605,11 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
#
# [snip]
#
# 3. Interpretation - [snip] "Samoa standard time" in this Act and any
# 3. Interpretation [snip] "Samoa standard time" in this Act and any
# other statute of Samoa which refers to 'Samoa standard time' means the
# time 13 hours in advance of Co-ordinated Universal Time.
#
# 4. Samoa standard time - (1) Upon the commencement of this Act, Samoa
# 4. Samoa standard time (1) Upon the commencement of this Act, Samoa
# standard time shall be set at 13 hours in advance of Co-ordinated
# Universal Time for the whole of Samoa. (2) All references to Samoa's
# time zone and to Samoa standard time in Samoa in all legislation and
@@ -624,16 +624,16 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# here is the official website publication for Samoa DST and dateline change
#
# DST
# Year End Time Start Time
# 2011 - - - - - - 24 September 3:00am to 4:00am
# 2012 01 April 4:00am to 3:00am - - - - - -
# Year End Time Start Time
# 2011 - - - - - - 24 September 3:00am to 4:00am
# 2012 01 April 4:00am to 3:00am - - - - - -
#
# Dateline Change skip Friday 30th Dec 2011
# Thursday 29th December 2011 23:59:59 Hours
# Saturday 31st December 2011 00:00:00 Hours
#
# Clarification by Tim Parenti (2012-01-03):
# Although Samoa has used Daylight Saving Time in the 2010-2011 and 2011-2012
# Although Samoa has used Daylight Saving Time in the 20102011 and 20112012
# seasons, there is not yet any indication that this trend will continue on
# a regular basis. For now, we have explicitly listed the transitions below.
#
@@ -678,8 +678,8 @@ Zone Pacific/Guadalcanal 10:39:48 - LMT 1912 Oct # Honiara
# From Steffen Thorsen (2012-07-25)
# ... we double checked by calling hotels and offices based in Tokelau asking
# about the time there, and they all told a time that agrees with UTC+13....
# Shanks says UTC-10 from 1901 [but] ... there is a good chance the change
# actually was to UTC-11 back then.
# Shanks says UTC10 from 1901 [but] ... there is a good chance the change
# actually was to UTC11 back then.
#
# From Paul Eggert (2012-07-25)
# A Google Books snippet of Appendix to the Journals of the House of
@@ -714,19 +714,19 @@ Zone Pacific/Funafuti 11:56:52 - LMT 1901
# US minor outlying islands
# Howland, Baker
# Howland was mined for guano by American companies 1857-1878 and British
# 1886-1891; Baker was similar but exact dates are not known.
# Inhabited by civilians 1935-1942; U.S. military bases 1943-1944;
# Howland was mined for guano by American companies 18571878 and British
# 18861891; Baker was similar but exact dates are not known.
# Inhabited by civilians 19351942; U.S. military bases 19431944;
# uninhabited thereafter.
# Howland observed Hawaii Standard Time (UT-10:30) in 1937;
# Howland observed Hawaii Standard Time (UT10:30) in 1937;
# see page 206 of Elgen M. Long and Marie K. Long,
# Amelia Earhart: the Mystery Solved, Simon & Schuster (2000).
# So most likely Howland and Baker observed Hawaii Time from 1935
# until they were abandoned after the war.
# Jarvis
# Mined for guano by American companies 1857-1879 and British 1883?-1891?.
# Inhabited by civilians 1935-1942; IGY scientific base 1957-1958;
# Mined for guano by American companies 18571879 and British 1883?1891?.
# Inhabited by civilians 19351942; IGY scientific base 19571958;
# uninhabited thereafter.
# no information; was probably like Pacific/Kiritimati
@@ -746,7 +746,7 @@ Zone Pacific/Funafuti 11:56:52 - LMT 1901
# From Lyle McElhaney (2014-03-11):
# [W]hen JI was being used for that [atomic bomb] testing, the time being used
# was not Hawaiian time but rather the same time being used on the ships,
# which had a GMT offset of -11 hours. This apparently applied to at least the
# which had a GMT offset of 11 hours. This apparently applied to at least the
# time from Operation Newsreel (Hardtack I/Teak shot, 1958-08-01) to the last
# Operation Fishbowl shot (Tightrope, 1962-11-04).... [See] Herman Hoerlin,
# "The United States High-Altitude Test Experience: A Review Emphasizing the
@@ -854,9 +854,9 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# 11:30 NZMT NZST New Zealand through 1945
# 12:00 NZST NZDT New Zealand 1946-present
# 12:45 CHAST CHADT Chatham*
# -11:00 SST Samoa
# -10:00 HST Hawaii
# - 8:00 PST Pitcairn*
# 11:00 SST Samoa
# 10:00 HST Hawaii
# 8:00 PST Pitcairn*
#
# See the 'northamerica' file for Hawaii.
# See the 'southamerica' file for Easter I and the Galapagos Is.
@@ -1113,7 +1113,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# ...
# From Arthur David Olson (1992-03-08):
# The chosen rules the union of the 1971/1972 change and the 1989-1992 changes.
# The chosen rules the union of the 1971/1972 change and the 19891992 changes.
# From Christopher Hunt (2006-11-21), after an advance warning
# from Jesper Norgaard Welen (2006-11-01):
@@ -1393,7 +1393,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# From Steffen Thorsen (2009-04-28):
# According to the official press release, South Australia's extended daylight
# saving period will continue with the same rules as used during the 2008-2009
# saving period will continue with the same rules as used during the 20082009
# summer (southern hemisphere).
#
# From
@@ -1416,7 +1416,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# the 1989/90 year was a trial of an extended "daylight saving" period.
# This trial was deemed successful and the extended period adopted for
# subsequent years (with the addition of a further week at the start).
# source -- phone call to Ministry of Internal Affairs Head Office.
# source phone call to Ministry of Internal Affairs Head Office.
# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06):
# # The Country of New Zealand (Australia's east island -) Gee they hate that!
@@ -1532,7 +1532,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# From Paul Eggert (1999-10-29):
# The Federated States of Micronesia Visitors Board writes in
# The Federated States of Micronesia - Visitor Information (1999-01-26)
# The Federated States of Micronesia Visitor Information (1999-01-26)
# <http://www.fsmgov.org/info/clocks.html>
# that Truk and Yap are UTC+10, and Ponape and Kosrae are UTC+11.
# We don't know when Kosrae switched from UTC+12; assume January 1 for now.
@@ -1584,7 +1584,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# Howse writes (p 153, citing p 10 of the 1883-11-18 New York Herald)
# that in 1879 the King of Samoa decided to change
# "the date in his kingdom from the Antipodean to the American system,
# ordaining -- by a masterpiece of diplomatic flattery -- that
# ordaining by a masterpiece of diplomatic flattery that
# the Fourth of July should be celebrated twice in that year."
@@ -1679,7 +1679,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# From Vernice Anderson, Personal Secretary to Philip Jessup,
# US Ambassador At Large (oral history interview, 1971-02-02):
#
# Saturday, the 14th [of October, 1950] -- ... The time was all the
# Saturday, the 14th [of October, 1950] ... The time was all the
# more confusing at that point, because we had crossed the
# International Date Line, thus getting two Sundays. Furthermore, we
# discovered that Wake Island had two hours of daylight saving time
@@ -1724,7 +1724,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# on the high seas. Whenever a ship was within the territorial waters of any
# nation it would use that nation's standard time. The captain was permitted
# to change his ship's clocks at a time of his choice following his ship's
# entry into another zone time--he often chose midnight. These zones were
# entry into another zone time he often chose midnight. These zones were
# adopted by all major fleets between 1920 and 1925 but not by many
# independent merchant ships until World War II.