diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/africa | 16 | ||||
-rw-r--r-- | time/asia | 20 | ||||
-rw-r--r-- | time/australasia | 80 | ||||
-rw-r--r-- | time/europe | 46 | ||||
-rw-r--r-- | time/northamerica | 52 | ||||
-rw-r--r-- | time/pacificnew | 6 | ||||
-rw-r--r-- | time/southamerica | 26 | ||||
-rw-r--r-- | time/sys/time.h | 36 | ||||
-rw-r--r-- | time/sys/timeb.h | 34 | ||||
-rw-r--r-- | time/time.h | 6 | ||||
-rw-r--r-- | time/tzfile.h | 4 |
11 files changed, 159 insertions, 167 deletions
diff --git a/time/africa b/time/africa index 110f540064..a3a28c95ea 100644 --- a/time/africa +++ b/time/africa @@ -1,4 +1,4 @@ -# @(#)africa 7.14 +# @(#)africa 7.15 # This data is by no means authoritative; if you think you know better, # go ahead and edit the file (and please send any changes to @@ -229,13 +229,13 @@ Zone Africa/Djibouti 2:52:36 - LMT 1911 Jul # Egypt -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # Egypt: DST from first day of May to first of October (ending may # also be on Sept 30th not 31st -- you might want to ask one of the # soc.* groups, you might hit someone who could ask an embassy). # DST since 1960 except for 1981-82. -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # EGYPT 2 H AHEAD OF UTC # EGYPT 3 H AHEAD OF UTC MAY 17 - SEP 30 (AFTER # EGYPT RAMADAN) @@ -331,7 +331,7 @@ Zone Africa/Bissau -1:02:20 - LMT 1911 May 26 # uninhabited # Kenya -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # Shanks says the transition to 2:45 was in 1940, but it must have been 1948. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Nairobi 2:27:16 - LMT 1928 Jul @@ -348,7 +348,7 @@ Zone Africa/Maseru 1:50:00 - LMT 1903 Mar 2:00 - SAT # Liberia -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # In 1972 Liberia was the last country to switch # from a GMT offset that was not a multiple of 15 minutes. # Howse reports that it was in honor of their president's birthday. @@ -370,7 +370,7 @@ Zone Africa/Monrovia -0:43:08 - LMT 1882 # From Bob Devine (January 28 1988): # Libya: Since 1982 April 1st to September 30th (?) -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # LIBYAN ARAB 1 H AHEAD OF UTC JAMAHIRIYA/LIBYA # LIBYAN ARAB 2 H AHEAD OF UTC APR 1 - SEP 30 JAMAHIRIYA/LIBYA @@ -544,7 +544,7 @@ Zone Africa/Freetown -0:53:00 - LMT 1882 0:00 SL WA%sT # Somalia -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # Shanks omits the 1948 transition to 2:45; this is probably a typo. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Mogadishu 3:01:28 - LMT 1893 Nov @@ -565,7 +565,7 @@ Zone Africa/Johannesburg 1:52:00 - LMT 1892 Feb 8 # no information # Sudan -# From Michael Ross <mross@antigone.com> (November 15, 1995): +# From Michael Ross <mross@antigone.com> (1995-11-15): # Sudan no longer observes any form of daylight time change. # I verified this today by telephone with the Sudan Mission to the # United Nations: 212-573-6033 diff --git a/time/asia b/time/asia index 2cc414f1df..b5220f3915 100644 --- a/time/asia +++ b/time/asia @@ -1,4 +1,4 @@ -# @(#)asia 7.24 +# @(#)asia 7.25 # This data is by no means authoritative; if you think you know better, # go ahead and edit the file (and please send any changes to @@ -144,8 +144,8 @@ Zone Asia/Phnom_Penh 6:59:40 - LMT 1906 Jun 9 # From Guy Harris: # People's Republic of China. Yes, they really have only one time zone. -# From Bob Devine (January 28, 1988): -# No they don't. See TIME mag, February 17, 1986 p.52. Even though +# From Bob Devine (1988-01-28): +# No they don't. See TIME mag, 1986-02-17 p.52. Even though # China is across 4 physical time zones, before Feb 1, 1986 only the # Peking (Bejing) time zone was recognized. Since that date, China # has two of 'em -- Peking's and Urumqi (named after the capital of @@ -158,7 +158,7 @@ Zone Asia/Phnom_Penh 6:59:40 - LMT 1906 Jun 9 # 1986 May 4 - Sept 14 # 1987 mid-April - ?? -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # CHINA 8 H AHEAD OF UTC ALL OF CHINA, INCL TAIWAN # CHINA 9 H AHEAD OF UTC APR 17 - SEP 10 @@ -366,11 +366,11 @@ Zone Asia/Baghdad 2:57:40 - LMT 1890 # Israel -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # ISRAEL 2 H AHEAD OF UTC # ISRAEL 3 H AHEAD OF UTC APR 10 - SEP 3 -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # # Shanks gives the following rules for Jerusalem from 1918 through 1991. # After 1989 Shanks often disagrees with Silverberg; we go with Silverberg. @@ -464,8 +464,8 @@ Rule Zion 1995 only - Sep 3 0:00 0 S # ftp://ftp.huji.ac.il/pub/misc/timezones/announcements/1996-1998.ps.gz # # Emptor Caveat: The dates for the years 1996-1998 were originally announced -# on August 31, 1995, by the previous Minister of Interior. The new Minister -# of Interior changed the dates on January 1, 1996, to take into account the +# on 1995-08-31, by the previous Minister of Interior. The new Minister +# of Interior changed the dates on 1996-01-01, to take into account the # desires of certain portions of Israeli society (the next election is in the # Fall of 1996). After this (1996) year's Daylight Savings Time is over, the # new minister has announced that a study will be conducted as to the wishes of @@ -512,7 +512,7 @@ Zone Asia/Ishigaki 8:16:36 - LMT 1896 # Other Japanese possessions are probably like Asia/Tokyo. # Jordan -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # Most likely Shanks is merely guessing dates from 1992 on. # From Shanks (1991): # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -863,7 +863,7 @@ Zone Asia/Tashkent 4:37:12 - LMT 1924 May 2 # from the American Embassy in Tashkent implies that they have just one. # Vietnam -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # Saigon's official name is Thanh-Pho Ho Chi Minh, but it's too long. # We'll stick with the traditional name for now. # From Shanks (1991): diff --git a/time/australasia b/time/australasia index e65546feb8..27e018bcde 100644 --- a/time/australasia +++ b/time/australasia @@ -1,4 +1,4 @@ -# @(#)australasia 7.28 +# @(#)australasia 7.29 # This file also includes Pacific islands. # Notes are at the end of this file @@ -439,7 +439,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Australia -# From John Mackin (March 6, 1991): +# From John Mackin (1991-03-06): # We in Australia have _never_ referred to DST as `daylight' time. # It is called `summer' time. Now by a happy coincidence, `summer' # and `standard' happen to start with the same letter; hence, the @@ -473,20 +473,20 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Northern Territory -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The NORTHERN TERRITORY.. [ Courtesy N.T. Dept of the Chief Minister ] # # [ Nov 1990 ] # # N.T. have never utilised any DST due to sub-tropical/tropical location. # ... # Zone Australia/North 9:30 - CST -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # the Northern Territory do[es] not have daylight saving. # Western Australia -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of WESTERN AUSTRALIA.. [ Courtesy W.A. dept Premier+Cabinet ] # # [ Nov 1990 ] # # W.A. suffers from a great deal of public and political opposition to @@ -501,23 +501,23 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule AW 1983 only - Oct lastSun 2:00 1:00 D # Rule AW 1984 only - Mar Sun>=1 3:00 0 W -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # Western Australia...do[es] not have daylight saving. -# From John D. Newman via Bradley White (November 2, 1991): +# From John D. Newman via Bradley White (1991-11-02): # Western Australia is still on "winter time". Some DH in Sydney # rang me at home a few days ago at 6.00am. (He had just arrived at # work at 9.00am.) # W.A. is switching to Summer Time on Nov 17th just to confuse # everybody again. -# From Arthur David Olson (March 8, 1992): +# From Arthur David Olson (1992-03-08): # The 1992 ending date used in the rules is a best guess; # it matches what was used in the past. # Queensland -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of QUEENSLAND.. [ Courtesy Qld. Dept Premier Econ&Trade Devel ] # # [ Dec 1990 ] # ... @@ -528,21 +528,21 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule AQ 1989 max - Oct lastSun 2:00 1:00 D # Rule AQ 1990 max - Mar Sun>=1 3:00 0 E -# From Bradley White (December 24, 1989): +# From Bradley White (1989-12-24): # "Australia/Queensland" now observes daylight time (i.e. from # October 1989). -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # ...Queensland...[has] agreed to end daylight saving # at 3am tomorrow (March 3)... -# From John Mackin (March 6, 1991): +# From John Mackin (1991-03-06): # I can certainly confirm for my part that Daylight Saving in NSW did in fact # end on Sunday, 3 March. I don't know at what hour, though. (It surprised # me.) -# From Bradley White (March 8, 1992): +# From Bradley White (1992-03-08): # ...there was recently a referendum in Queensland which resulted # in the experimental daylight saving system being abandoned. So, ... # ... @@ -550,12 +550,12 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule QLD 1990 1992 - Mar Sun>=1 3:00 0 S # ... -# From Arthur David Olson (March 8, 1992): +# From Arthur David Olson (1992-03-08): # The chosen rules the union of the 1971/1972 change and the 1989-1992 changes. # South Australia, Tasmania, Victoria -# From Arthur David Olson (March 8, 1992): +# From Arthur David Olson (1992-03-08): # The rules from version 7.1 follow. # There are lots of differences between these rules and # the Shepherd et al. rules. Since the Shepherd et al. rules @@ -573,7 +573,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # 10:00 1:00 EST 1986 Mar Sun<=21 3:00 # 10:00 Oz EST -# From Robert Elz (March 6, 1991): +# From Robert Elz (1991-03-06): # I believe that the current start date for DST is "lastSun" in Oct... # that changed Oct 89. That is, we're back to the # original rule, and that rule currently applies in all the states @@ -583,12 +583,12 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # South Australia -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # ...South Australia...[has] agreed to end daylight saving # at 3am tomorrow (March 3)... -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of SOUTH AUSTRALIA....[ Courtesy of S.A. Dept of Labour ] # # [ Nov 1990 ] # ... @@ -599,23 +599,23 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule AS 1986 1990 - Mar Sun<=21 3:00 0 C # Rule AS 1991 max - Mar Sun>=1 3:00 0 C -# From Bradley White (March 11, 1992): +# From Bradley White (1992-03-11): # Recent correspondence with a friend in Adelaide # contained the following exchange: "Due to the Adelaide Festival, # South Australia delays setting back our clocks for a few weeks." -# From Robert Elz (March 13, 1992): +# From Robert Elz (1992-03-13): # I heard that apparently (or at least, it appears that) # South Aus will have an extra 3 weeks daylight saving every even # numbered year (from 1990). That's when the Adelaide Festival # is on... -# From Robert Elz (March 16, 1992, 00:57:07 +1000): +# From Robert Elz (1992-03-16, 00:57:07 +1000): # DST didn't end in Adelaide today (yesterday).... # But whether it's "4th Sunday" or "2nd last Sunday" I have no idea whatever... # (it's just as likely to be "the Sunday we pick for this year"...). -# From Bradley White (April 11, 1994): +# From Bradley White (1994-04-11): # If Sun, 15 March, 1992 was at +1030 as kre asserts, but yet Sun, 20 March, # 1994 was at +0930 as John Connolly's customer seems to assert, then I can # only conclude that the actual rule is more complicated.... @@ -627,11 +627,11 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Tasmania -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # ...Tasmania will revert to Australian Eastern Standard Time on March 31... -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of TASMANIA.. [Courtesy Tasmanian Dept of Premier + Cabinet ] # # [ Nov 1990 ] # ... @@ -652,7 +652,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule AT 1991 max - Oct Sun>=1 2:00 1:00 D # Rule AT 1991 max - Mar lastSun 3:00 0 E -# From Bill Hart via Alexander Dupuy and Guy Harris (October 10, 1991): +# From Bill Hart via Alexander Dupuy and Guy Harris (1991-10-10): # My state Government in there eagerness to get a few more bucks for the # tourist industry industry decided to change the daylight savings times # yet again (we now have almost 6 months per year)... @@ -663,18 +663,18 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Rule Oz 1987 1990 - Mar Sun<=21 3:00 0 - # Rule Oz 1991 max - Mar Sun<=31 3:00 0 - -# From Bill Hart via Guy Harris (October 10, 1991): +# From Bill Hart via Guy Harris (1991-10-10): # Oh yes, the new daylight savings rules are uniquely tasmanian, we have # 6 weeks a year now when we are out of sync with the rest of Australia # (but nothing new about that). # Victoria -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # ...Victoria...[has] agreed to end daylight saving at 3am tomorrow (March 3)... -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of VICTORIA.. [ Courtesy of Vic. Dept of Premier + Cabinet ] # # [ Nov 1990 ] # ... @@ -701,26 +701,26 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # legislation. This is very important to understand. # I have researched New South Wales time only... -# From Dave Davey (March 3, 1990): +# From Dave Davey (1990-03-03): # Rule NSW 1988 only - Mar Sun>=1 3:00 0 - # Rule NSW 1989 only - Mar Sun<=21 3:00 0 - -# From Bradley White (March 4, 1991): +# From Bradley White (1991-03-04): # A recent excerpt from an Australian newspaper... # NSW...[has] agreed to end daylight saving at 3am tomorrow (March 3)... -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # The state of NEW SOUTH WALES.. [confirmed by Attorney General's Dept N.S.W] # # [ Dec 1990 ] # ... # Rule AN 1988 1989 - Mar Sun<=21 3:00 0 E # ... -# From John Mackin (March 9, 1991) +# From John Mackin (1991-03-09) # I have confirmed the accuracy of the historical data for NSW in the # file Robert forwarded -# From Arthur David Olson (March 8, 1992): +# From Arthur David Olson (1992-03-08): # Sources differ on whether DST ended March 6 or March 20 in 1988; # March 20 (the "confirmed" date) is in the chosen rules. @@ -730,10 +730,10 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Yancowinna -# From John Basser (January 4, 1989): +# From John Basser (1989-01-04): # `Broken Hill' means the County of Yancowinna. -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # # YANCOWINNA.. [ Confirmation courtesy of Broken Hill Postmaster ] # # [ Dec 1990 ] # ... @@ -751,7 +751,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Lord Howe Island -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# From George Shepherd via Simon Woodhead via Robert Elz (1991-03-06): # LHI... [ Courtesy of Pauline Van Winsen.. pauline@Aus ] # [ Dec 1990 ] # Lord Howe Island is located off the New South Wales coast, and is half an @@ -768,13 +768,13 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # New Zealand, from Elz' asia 1.1 # Elz says "no guarantees" -# From Mark Davies (October 3, 1990): +# From Mark Davies (1990-10-03): # 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. -# From George Shepherd via Simon Woodhead via Robert Elz (March 6, 1991): +# 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! # # or is Australia the west island of N.Z. # # [ courtesy of Geoff Tribble.. Geofft@Aus.. Auckland N.Z. ] @@ -788,7 +788,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Zone NZ 12:00 NZ NZ%sT # New Zealand # Zone NZ-CHAT 12:45 - NZ-CHAT # Chatham Island -# From Arthur David Olson (March 8, 1992): +# From Arthur David Olson (1992-03-08): # The chosen rules use the Davies October 8 values for the start of DST in 1989 # rather than the October 1 value. @@ -825,7 +825,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # In comp.risks 14.87 (26 August 1993), Peter Neumann writes: # I wonder what happened in Kwajalein, where there was NO Friday, -# August 20, 1993. Thursday night at midnight Kwajalein switched sides with +# 1993-08-20. Thursday night at midnight Kwajalein switched sides with # respect to the International Date Line, to rejoin its fellow islands, # going from 11:59 p.m. Thursday to 12:00 m. Saturday in a blink. diff --git a/time/europe b/time/europe index 73fa55c410..abeba98386 100644 --- a/time/europe +++ b/time/europe @@ -1,4 +1,4 @@ -# @(#)europe 7.39 +# @(#)europe 7.40 # This data is by no means authoritative; if you think you know better, # go ahead and edit the file (and please send any changes to @@ -34,7 +34,7 @@ # is Derek Howse, Greenwich time and the discovery of the longitude, # Oxford University Press (1980). -# From Peter Ilieve <peter@memex.co.uk> (December 4, 1994), +# From Peter Ilieve <peter@memex.co.uk> (1994-12-04), # The original six [EU members]: Belgium, France, (West) Germany, Italy, # Luxembourg, the Netherlands. # Plus, from 1 Jan 73: Denmark, Ireland, United Kingdom. @@ -61,7 +61,7 @@ # United Kingdom # The UK and its colonies adopted the Gregorian calendar on 1752-09-14. -# From Peter Ilieve <peter@memex.co.uk> (July 6, 1994): +# From Peter Ilieve <peter@memex.co.uk> (1994-07-06): # # On 17 Jan 1994 the Independent, a UK quality newspaper, had a piece about # historical vistas along the Thames in west London. There was a photo @@ -82,7 +82,7 @@ # # [This yields GMTOFF = -0:01:15 for London LMT in the 18th century.] -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # # Howse writes that Britain was the first country to use standard time. # The railways cared most about the inconsistencies of local mean time, @@ -123,7 +123,7 @@ # term appears only in quotes taken from DST's opponents, whereas the # proponents (who eventually won the argument) are quoted as using ``Summer''. -# From Arthur David Olson (January 19, 1989): +# From Arthur David Olson (1989-01-19): # # A source at the British Information Office in New York avers that it's # known as "British" Summer Time in all parts of the United Kingdom. @@ -134,7 +134,7 @@ # If you can predict what Parliament will do, you should be in # politics making a fortune, not computing. -# From Peter Ilieve <peter@memex.co.uk> (September 3, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-09-03): # # Our Government...couldn't...make a decision after the 1989 consultation # exercise about the UK changing its timezone so it just let things drift @@ -161,7 +161,7 @@ # an Order in Council (a Statutary Instrument, the SI thing mentioned above) # to specify the EC specified dates. -# From Peter Ilieve <peter@memex.co.uk> (October 18, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-10-18): # # My contact in the Ministry of Defence Public Relations department # accepted the challenge of looking into this and produced the following, @@ -189,7 +189,7 @@ # time of sunrise and sunset in The Times, when BDST was in effect, and # if you find a zone reference it will say, "All times B.D.S.T." -# From Peter Ilieve <peter@memex.co.uk> (September 3, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-09-03): # # > # Current rules # > Rule GB-Eire 1981 max - Mar lastSun 1:00s 1:00 BST @@ -213,7 +213,7 @@ # summer time completely, noon is when the Sun is overhead, and that should # be the end of it. -# From Peter Ilieve <peter@memex.co.uk> (October 22, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-10-22): # # I now have the text of the Summer Time Act 1916, the granddaddy of them all. # It is headed: `An Act to provide for the Time in Great Britain and Ireland @@ -246,7 +246,7 @@ # It also confirms the fact that Ireland followed Dublin time back then, # and 25 minutes behind Greenwich, as Shanks has it, would be correct. -# From Peter Ilieve <peter@memex.co.uk> (October 28, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-10-28): # # I now have before me, thanks to my learned legal friend Lorna, the text of # the Time (Ireland) Act 1916. @@ -269,7 +269,7 @@ # of the 1880 date in Shanks. The little bit of it that is repealed # also refers solely to Ireland and Dublin Mean Time. -# From Peter Ilieve <peter@memex.co.uk> (October 29, 1993): +# From Peter Ilieve <peter@memex.co.uk> (1993-10-29): # # My case is that, with the sole exception of Ireland in 1916 using Dublin # Mean Time, Summer Time has been uniform throughout the United Kingdom @@ -438,7 +438,7 @@ # thereby destroying the authority of the Summer Time Order specifying # summer time in 1968.... -# From Peter Ilieve <peter@memex.co.uk> (November 18, 1993) +# From Peter Ilieve <peter@memex.co.uk> (1993-11-18) # # Here is a revised version of my tabrules file for the perl script I sent # before. I have personally verified the various Orders back to 1953 and @@ -603,7 +603,7 @@ # 1993 28 Mar 24 Oct fixed # 1994 27 Mar 23 Oct fixed -# From Peter Ilieve <peter@memex.co.uk> (August 18, 1994): +# From Peter Ilieve <peter@memex.co.uk> (1994-08-18): # I now have the text of the 7th EC directive on summer time arrangements # (94/21/EC), which was approved on 30 May.... # The major changes from existing practice are that 1995 will be the last year @@ -626,7 +626,7 @@ # by the Commission by 1 Jan 96. They have not yet appeared (I asked just # before Easter). -# From Peter Ilieve <peter@memex.co.uk> (March 28, 1994): +# From Peter Ilieve <peter@memex.co.uk> (1994-03-28): # The [GB-Eire] end date of 22 October [1995] conflicts with your current rule # of Oct Sun>=23, and the historical UK formula of Sun after 4th Sat. # The last time 4th Sun and Sun after 4th Sat differed was in 1989, @@ -836,7 +836,7 @@ Rule Russia 1919 only - Jul 1 2:00 1:00 S Rule Russia 1919 only - Aug 16 0:00 0 - Rule Russia 1921 only - Feb 14 23:00 1:00 S # Shanks gives 1921 Mar 21 for the following transition. -# From Andrew A. Chernov <ache@astral.msk.su> (November 12, 1993): +# From Andrew A. Chernov <ache@astral.msk.su> (1993-11-12): # My sources says, that it is Mar 20, not 21. Rule Russia 1921 only - Mar 20 23:00 2:00 DS Rule Russia 1921 only - Sep 1 0:00 1:00 S @@ -1284,10 +1284,10 @@ Zone Europe/Budapest 1:16:20 - LMT 1890 Oct # Iceland # -# From Adam David <adam@veda.is> (November 6, 1993): +# From Adam David <adam@veda.is> (1993-11-06): # The name of the timezone in Iceland for system / mail / news purposes is GMT. # -# (December 5, 1993): +# (1993-12-05): # This material is paraphrased from the 1988 edition of the University of # Iceland Almanak. # @@ -1301,7 +1301,7 @@ Zone Europe/Budapest 1:16:20 - LMT 1890 Oct # time the norsemen first settled Iceland. The first day of winter is always # Saturday, but is not dependent on the Julian or Gregorian calendars. # -# (December 10, 1993): +# (1993-12-10): # I have a reference from the Oxford Icelandic-English dictionary for the # beginning of winter, which ties it to the ecclesiastical calendar (and thus # to the julian/gregorian calendar) over the period in question. @@ -1311,7 +1311,7 @@ Zone Europe/Budapest 1:16:20 - LMT 1890 Oct # might be a reference to the Julian calendar as opposed to Gregorian, or it # might mean something else (???). # -# From Paul Eggert <eggert@twinsun.com> (December 9, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-12-09): # The Iceland Almanak, Shanks and Whitman disagree on many points. # We go with the Almanak, except for one claim from Shanks, namely that # Reykavik was -1:28 from 1837 to 1908, local mean time before that. @@ -1701,7 +1701,7 @@ Zone Europe/Lisbon -0:36:32 - LMT 1884 0:00 Port WE%sT 1966 Apr 3 2:00 1:00 - CET 1976 Sep 26 1:00 0:00 Port WE%sT 1983 Sep 25 1:00s -# From Rui Pedro Salgueiro <rps@inescca.inescc.pt> (November 12, 1992): +# From Rui Pedro Salgueiro <rps@inescca.inescc.pt> (1992-11-12): # Portugal has recently (September, 27) changed timezone # (from WET to MET or CET) to harmonize with EEC. 0:00 EU WE%sT 1992 Sep 27 1:00s @@ -1777,7 +1777,7 @@ Zone Asia/Omsk 4:53:36 - LMT 1924 May 2 5:00 1:00 OMSST 1991 Sep 29 2:00s 5:00 - OMST 1992 Jan 19 2:00s 6:00 Russia OMS%sT -# From Stanislaw A. Kuzikowski <S.A.Kuz@iae.nsk.su> (June 29, 1994): +# From Stanislaw A. Kuzikowski <S.A.Kuz@iae.nsk.su> (1994-06-29): # But now it is some months since Novosibirsk is 3 hours ahead of Moscow! # I do not know why they have decided to make this change; # as far as I remember it was done exactly during winter->summer switching @@ -2064,7 +2064,7 @@ Zone Europe/Simferopol 2:16:24 - LMT 1880 2:00 - EET 1930 Jun 21 3:00 Russia MOS%sT 1991 Mar 31 2:00s 2:00 1:00 EEST 1991 Sep 29 2:00s -# From Paul Eggert <eggert@twinsun.com> (May 28, 1994): +# From Paul Eggert <eggert@twinsun.com> (1994-05-28): # Today's _Economist_ (p 45) reports that Crimea switched # from Kiev to Moscow time sometime after the January elections. # For now, we'll guess that there was a 2-hour leap forward on March 27. @@ -2148,7 +2148,7 @@ Zone Europe/Belgrade 1:22:00 - LMT 1884 # INTERNET : dik@cwi.nl # BITNET/EARN: dik@mcvax -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # ... # Greece: Last Sunday in April to last Sunday in September (iffy on dates). # Since 1978. Change at midnight. diff --git a/time/northamerica b/time/northamerica index 1d8bd9e6f5..5c0c02cc93 100644 --- a/time/northamerica +++ b/time/northamerica @@ -1,11 +1,11 @@ -# @(#)northamerica 7.27 +# @(#)northamerica 7.28 # also includes Central America and the Caribbean # This data is by no means authoritative; if you think you know better, # go ahead and edit the file (and please send any changes to # tz@elsie.nci.nih.gov for general use in the future). -# From Paul Eggert <eggert@twinsun.com> (August 17, 1994): +# From Paul Eggert <eggert@twinsun.com> (1994-08-17): # A reliable and entertaining source about time zones is # Derek Howse, Greenwich time and the discovery of the longitude, # Oxford University Press (1980). @@ -41,8 +41,8 @@ # From Arthur David Olson: # US Daylight Saving Time ended on the last Sunday of *October* in 1974. -# See, for example, the front page of the Saturday, October 26, 1974 -# and Sunday, October 27, 1974 editions of the Washington Post. +# See, for example, the front page of the Saturday, 1974-10-26 +# and Sunday, 1974-10-27 editions of the Washington Post. # From Arthur David Olson: # Before the Uniform Time Act of 1966 took effect in 1967, observance of @@ -60,7 +60,7 @@ Rule US 1975 only - Feb 23 2:00 1:00 D Rule US 1976 1986 - Apr lastSun 2:00 1:00 D Rule US 1987 max - Apr Sun>=1 2:00 1:00 D -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # ...Alaska (and Hawaii) had the timezone names changed in 1967. # old new # Pacific Standard Time(PST) -same- @@ -76,7 +76,7 @@ Rule US 1987 max - Apr Sun>=1 2:00 1:00 D # The tables below use `NST', not `NT', for Nome Standard Time. # I invented `CAWT' for Central Alaska War Time. -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # USA EASTERN 5 H BEHIND UTC NEW YORK, WASHINGTON # USA EASTERN 4 H BEHIND UTC APR 3 - OCT 30 # USA CENTRAL 6 H BEHIND UTC CHICAGO, HOUSTON @@ -92,16 +92,16 @@ Rule US 1987 max - Apr Sun>=1 2:00 1:00 D # USA HAWAII 10 H BEHIND UTC # USA BERING 11 H BEHIND UTC SAMOA, MIDWAY -# From Arthur David Olson (January 21, 1989): +# From Arthur David Olson (1989-01-21): # The above dates are for 1988. # Note the "AKST" and "AKDT" abbreviations, the claim that there's # no DST in Samoa, and the claim that there is DST in Alaska and the # Aleutians. -# From Arthur David Olson (February 13, 1988): +# From Arthur David Olson (1988-02-13): # Legal standard time zone names, from United States Code (1982 Edition and # Supplement III), Title 15, Chapter 6, Section 260 and forward. First, names -# up to April 1, 1967 (when most provisions of the Uniform Time Act of 1966 +# up to 1967-04-01 (when most provisions of the Uniform Time Act of 1966 # took effect), as explained in sections 263 and 261: # (none) # United States standard eastern time @@ -111,7 +111,7 @@ Rule US 1987 max - Apr Sun>=1 2:00 1:00 D # (none) # United States standard Alaska time # (none) -# Next, names from April 1, 1967 until November 30, 1983 (the date for +# Next, names from 1967-04-01 until 1983-11-30 (the date for # public law 98-181): # Atlantic standard time # eastern standard time @@ -121,7 +121,7 @@ Rule US 1987 max - Apr Sun>=1 2:00 1:00 D # Yukon standard time # Alaska-Hawaii standard time # Bering standard time -# And after November 30, 1983: +# And after 1983-11-30: # Atlantic standard time # eastern standard time # central standard time @@ -277,7 +277,7 @@ Zone America/Phoenix -7:28:18 - LMT 1883 Nov 18 12:00 -7:00 - MST 1967 -7:00 US M%sT 1968 -7:00 - MST -# From Arthur David Olson (February 13, 1988): +# From Arthur David Olson (1988-02-13): # A writer from the Inter Tribal Council of Arizona, Inc., # notes in private correspondence dated 12/28/87 that "Presently, only the # Navajo Nation participates in the Daylight Saving Time policy, due to its @@ -350,10 +350,10 @@ Zone America/Indiana/Marengo -5:45:23 - LMT 1883 Nov 18 12:00 -5:00 - EST # # Starke County, Indiana -# From Arthur David Olson (October 28, 1991): -# An article on page A3 of the Sunday, October 27, 1991 Washington Post +# From Arthur David Olson (1991-10-28): +# An article on page A3 of the Sunday, 1991-10-27 Washington Post # notes that Starke County switched from Central time to Eastern time as of -# October 27, 1991. +# 1991-10-27. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER Rule Starke 1947 1961 - Apr lastSun 2:00 1:00 D Rule Starke 1947 1954 - Sep lastSun 2:00 0 S @@ -398,7 +398,7 @@ Zone America/Louisville -5:43:02 - LMT 1883 Nov 18 12:00 # Michigan # -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # Michigan didn't observe DST from 1968 to 1973. # # From Paul Eggert (1995-12-19): @@ -462,7 +462,7 @@ Link Pacific/Honolulu HST ################################################################################ -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # A good source for time zone historical data outside the US is # Thomas G. Shanks, The International Atlas (3rd edition), # San Diego: ACS Publications, Inc. (1991). @@ -714,7 +714,7 @@ Zone America/Winnipeg -6:28:36 - LMT 1887 Jul 16 # Some western towns (e.g. Swift Current) switched from MST/MDT to CST in 1972. # Other western towns (e.g. Lloydminster) are like Edmonton. -# From W. Jones <jones@skdad.usask.ca> (November 6, 1992): +# From W. Jones <jones@skdad.usask.ca> (1992-11-06): # The. . .below is based on information I got from our law library, the # provincial archives, and the provincial Community Services department. # A precise history would require digging through newspaper archives, and @@ -873,7 +873,7 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20 # as listed there; [there is also] "Baja California Sur and N. Pacific # Coast (States of Sinaloa and Sonora)." -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # The Federal District (where Mexico City is) has observed [DST] several # times but not recently. # @@ -884,11 +884,11 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20 # The dates of DST probably go back to 1981. The rules are the same as # US's. This is going to be a headache for US presidential electi[o]n years! -# From Arthur David Olson (February 13, 1988) +# From Arthur David Olson (1988-02-13) # Since the 1981 starting date is only "probable," we'll keep the 1987 # starting date below. -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # MEXICO BAJA CAL N 7 H BEHIND UTC BAJA CALIFORNIA SUR AND # MEXICO BAJA CAL N N. PACIFIC COAST (STATES # MEXICO BAJA CAL N OF SINALOA AND SONORA) @@ -906,7 +906,7 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20 # MEXICO CAMPECHE, QUINTANA ROO AND # MEXICO YUCATAN -# From Arthur David Olson (January 21, 1989): +# From Arthur David Olson (1989-01-21): # April 3 fell on a Sunday in 1988; October 29 fell on a Sunday in 1989. Ahem. # USNO claims there should be four Mexican zones rather than three: # a zone that's GMT-8 with DST; a zone that's always GMT-7; @@ -1082,12 +1082,12 @@ Zone America/Costa_Rica -5:36:20 - LMT 1890 # San Jose # Cuba -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # . . .DST is from 2nd Sunday in May to 2nd Sunday in October since 1981. # Change at midnight. In 1979 & 1980, started at 3rd Sunday in March # (I think). -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # CUBA 5 H BEHIND UTC # CUBA 4 H BEHIND UTC MAR 20 - OCT 8 @@ -1192,10 +1192,10 @@ Zone America/Tegucigalpa -5:48:52 - LMT 1921 Apr # Jamaica -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # Follows US rules. -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # JAMAICA 5 H BEHIND UTC # From Shanks (1991): diff --git a/time/pacificnew b/time/pacificnew index 0cabd5a7e8..883ccdca69 100644 --- a/time/pacificnew +++ b/time/pacificnew @@ -1,7 +1,7 @@ -# @(#)pacificnew 7.8 +# @(#)pacificnew 7.9 -# From Arthur David Olson (April 5, 1989): -# On April 5, 1989, the U. S. House of Representatives passed (238-154) a bill +# From Arthur David Olson (1989-04-05): +# On 1989-04-05, the U. S. House of Representatives passed (238-154) a bill # establishing "Pacific Presidential Election Time"; it was not acted on # by the Senate or signed into law by the President. # You might want to change the "PE" (Presidential Election) below to diff --git a/time/southamerica b/time/southamerica index cb5b34bfc6..cd8c84ec6f 100644 --- a/time/southamerica +++ b/time/southamerica @@ -1,4 +1,4 @@ -# @(#)southamerica 7.13 +# @(#)southamerica 7.14 # This data is by no means authoritative; if you think you know better, # go ahead and edit the file (and please send any changes to @@ -45,14 +45,14 @@ # Argentina -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # Argentina: first Sunday in October to first Sunday in April since 1976. # Double Summer time from 1969 to 1974. Switches at midnight. -# From U. S. Naval Observatory (January 19, 19889): +# From U. S. Naval Observatory (1988-01-199): # ARGENTINA 3 H BEHIND UTC -# From Hernan G. Otero <hernan@isoft.com.ar> (June 26, 1995): +# From Hernan G. Otero <hernan@isoft.com.ar> (1995-06-26): # I am sending modifications to the Argentinian time zone table... # AR was chosen because they are the ISO letters that represent Argentina. @@ -87,7 +87,7 @@ Rule Arg 1987 only - Feb 13 0:00 0 - Rule Arg 1988 only - Feb 7 0:00 0 - Rule Arg 1988 only - Dec 1 0:00 1:00 S # -# From Hernan G. Otero <hernan@isoft.com.ar> (June 26, 1995): +# From Hernan G. Otero <hernan@isoft.com.ar> (1995-06-26): # These corrections were contributed by InterSoft Argentina S.A., # obtaining the data from the: # Talleres de Hidrografia Naval Argentina @@ -97,7 +97,7 @@ Rule Arg 1988 only - Dec 1 0:00 1:00 S Rule Arg 1989 1993 - Mar Sun>=1 0:00 0 - Rule Arg 1989 1992 - Oct Sun>=15 0:00 1:00 S # -# From Hernan G. Otero <hernan@isoft.com.ar> (June 26, 1995): +# From Hernan G. Otero <hernan@isoft.com.ar> (1995-06-26): # From this moment on, the law that mandated the daylight saving # time corrections was derogated and no more modifications # to the time zones (for daylight saving) are now made. @@ -125,18 +125,18 @@ Zone America/La_Paz -4:32:36 - LMT 1890 # Brazil # From Guy Harris: -# The OAG lists October 25, 1987 and February 12, 1988 as the starting and +# The OAG lists 1987-10-25 and 1988-02-12 as the starting and # ending dates, giving them as "estimated date(s) based on previous year". We # infer a rule here from one example, always a dangerous practice.... Yes, # they really do switch on Saturday, according to the OAG. # "[America/Porto_Acre]" is for the Territory of Acre; # "[America/Noronha]" is for Fernando De Noronha. -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # The only information I found is that there was no DST up to 1985. # But there was some before 1952! -# From U. S. Naval Observatory (January 16, 1989): +# From U. S. Naval Observatory (1989-01-16): # BRAZIL WEST 5 H BEHIND UTC TERRITORY OF ACRE # BRAZIL WEST 4 H BEHIND UTC ACRE OCT 23, '88-FEB 11, # BRAZIL '89 (ESTIMATED) @@ -155,7 +155,7 @@ Zone America/La_Paz -4:32:36 - LMT 1890 # BRAZIL (ESTIMATED) # BRAZIL 3 H BEHIND UTC FOR MOST MAJOR AIRPORTS. -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # The mayor of Rio recently attempted to change the time zone rules # just in his city, in order to leave more summer time for the tourist trade. # The rule change lasted only part of the day; @@ -290,11 +290,11 @@ Zone America/Guyana -3:52:40 - LMT 1915 Mar # Georgetown # Paraguay -# From Bob Devine (January 28, 1988): +# From Bob Devine (1988-01-28): # Paraguay: First day in October to last in March. Midnight switch?? # Since 1980. -# From U. S. Naval Observatory (January 19, 1989): +# From U. S. Naval Observatory (1989-01-19): # PARAGUAY 4 H BEHIND UTC # PARAGUAY 3 H BEHIND UTC OCT 1, '88-MAR 31, '89 @@ -352,7 +352,7 @@ Zone America/Port_of_Spain -4:06:04 - LMT 1912 Mar 2 -4:00 - AST # Uruguay -# From Paul Eggert <eggert@twinsun.com> (November 18, 1993): +# From Paul Eggert <eggert@twinsun.com> (1993-11-18): # Uruguay wins the prize for the strangest peacetime manipulation of the rules. # From Shanks (1991): # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S diff --git a/time/sys/time.h b/time/sys/time.h index 3646f9f060..f6c6f74878 100644 --- a/time/sys/time.h +++ b/time/sys/time.h @@ -1,20 +1,20 @@ /* Copyright (C) 1991, 92, 93, 94, 96 Free Software Foundation, Inc. -This file is part of the GNU C Library. + This file is part of the GNU C Library. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef _SYS_TIME_H @@ -148,16 +148,6 @@ extern int utimes __P ((__const char *__file, struct timeval __tvp[2])); } \ } while (0) - __END_DECLS -#ifdef __USE_BSD -/* Set an alarm to go off (generating a SIGALRM signal) in VALUE - microseconds. If INTERVAL is nonzero, when the alarm goes off, the - timer is reset to go off every INTERVAL microseconds thereafter. - Returns the number of microseconds remaining before the alarm. */ -extern unsigned int ualarm __P ((unsigned int __value, - unsigned int __interval)); -#endif - #endif /* sys/time.h */ diff --git a/time/sys/timeb.h b/time/sys/timeb.h index 7035d79fba..b3887b7254 100644 --- a/time/sys/timeb.h +++ b/time/sys/timeb.h @@ -1,20 +1,20 @@ -/* Copyright (C) 1994, 1995 Free Software Foundation, Inc. -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ +/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef _SYS_TIMEB_H diff --git a/time/time.h b/time/time.h index de7214ac52..935de80c7a 100644 --- a/time/time.h +++ b/time/time.h @@ -153,7 +153,7 @@ extern time_t __mktime_internal __P ((struct tm *__tp, extern size_t strftime __P ((char *__s, size_t __maxsize, __const char *__format, __const struct tm *__tp)); -#ifdef __USE_MISC +#ifdef __USE_XOPEN /* Parse S according to FORMAT and store binary time information in TP. The return value is a pointer to the first unparsed character in S. */ extern char *strptime __P ((__const char *__s, __const char *__fmt, @@ -232,10 +232,12 @@ extern long int __tzname_max __P ((void)); extern void tzset __P ((void)); #endif -#ifdef __USE_SVID +#if defined(__USE_SVID) || defined(__USE_XOPEN) extern int daylight; extern long int timezone; +#endif +#ifdef __USE_SVID /* Set the system time to *WHEN. This call is restricted to the superuser. */ extern int stime __P ((__const time_t *__when)); diff --git a/time/tzfile.h b/time/tzfile.h index cb9b6a1a11..a26fbbeefc 100644 --- a/time/tzfile.h +++ b/time/tzfile.h @@ -4,7 +4,7 @@ /* ** This file is in the public domain, so clarified as of -** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov). +** 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov). */ /* @@ -21,7 +21,7 @@ #ifndef lint #ifndef NOID -static char tzfilehid[] = "@(#)tzfile.h 7.8"; +static char tzfilehid[] = "@(#)tzfile.h 7.9"; #endif /* !defined NOID */ #endif /* !defined lint */ |