home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume18 / localtime3 / part04 < prev    next >
Text File  |  1989-04-19  |  40KB  |  1,123 lines

  1. Subject:  v18i114:  Table-driven ctime/time/localtime/date package, Part04/07
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by:  ado@ncifcrf.gov
  7. Posting-number: Volume 18, Issue 114
  8. Archive-name: localtime3/part04
  9.  
  10. : To unbundle, sh this file
  11. echo file 'africa' >&2
  12. cat >'africa' <<'End of africa'
  13. # @(#)africa    7.1
  14.  
  15. ###############################################################################
  16.  
  17. # Egypt
  18.  
  19. # From Bob Devine (January 28, 1988):
  20. # Egypt: DST from first day of May to first of October (ending may
  21. # also be on Sept 30th not 31st -- you might want to ask one of the
  22. # soc.* groups, you might hit someone who could ask an embassy).
  23. # DST since 1960 except for 1981-82.
  24.  
  25. # From U. S. Naval Observatory (January 19, 1989):
  26. # EGYPT               2 H  AHEAD OF UTC
  27. # EGYPT               3 H  AHEAD OF UTC  MAY 17 - SEP 30 (AFTER
  28. # EGYPT                                  RAMADAN)
  29.  
  30. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  31. Rule    Egypt    1960    max    -    May    1    2:00    1:00    " DST"
  32. Rule    Egypt    1960    max    -    Oct    1    2:00    0    -
  33.  
  34. # Zone    NAME    GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  35. Zone    Egypt    2:00    Egypt        EET%s    1981
  36.         2:00    -        EET    1983
  37.         2:00    Egypt        EET%s
  38.  
  39. ###############################################################################
  40.  
  41. # Libya
  42.  
  43. # From Bob Devine (January 28 1988):
  44. # Libya: Since 1982 April 1st to September 30th (?)
  45.  
  46. # From U. S. Naval Observatory (January 19, 1989):
  47. # LIBYAN ARAB         1 H  AHEAD OF UTC  JAMAHIRIYA/LIBYA
  48. # LIBYAN ARAB         2 H  AHEAD OF UTC  APR 1 - SEP 30 JAMAHIRIYA/LIBYA
  49.  
  50. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  51. Rule    Libya    1982    max    -    Apr    1    2:00    1:00    " DST"
  52. Rule    Libya    1982    max    -    Sep    30    2:00    0    -
  53.  
  54. # Zone    NAME    GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  55. Zone    Libya    2:00    Libya        EET%s
  56. End of africa
  57. echo file 'antarctica' >&2
  58. cat >'antarctica' <<'End of antarctica'
  59. # @(#)antarctica    7.1
  60.  
  61. # From Arthur David Olson (February 13, 1988):
  62. # No data available.
  63. End of antarctica
  64. echo file 'asia' >&2
  65. cat >'asia' <<'End of asia'
  66. # @(#)asia    7.1
  67.  
  68. # From Guy Harris:
  69. # Incorporates data for Singapore from Robert Elz' asia 1.1, as well as
  70. # additional information from Tom Yap, Sun Microsystems Intercontinental
  71. # Technical Support (including a page from the Official Airline Guide -
  72. # Worldwide Edition).  The names for time zones are guesses.
  73.  
  74. ###############################################################################
  75.  
  76. # People's Republic of China
  77.  
  78. # From Guy Harris:
  79. # People's Republic of China.  Yes, they really have only one time zone.
  80.  
  81. # From Bob Devine (January 28, 1988):
  82. # No they don't.  See TIME mag, February 17, 1986 p.52.  Even though
  83. # China is across 4 physical time zones, before Feb 1, 1986 only the
  84. # Peking (Bejing) time zone was recognized.  Since that date, China
  85. # has two of 'em -- Peking's and Urumqi (named after the capital of
  86. # the Xinjiang Uighur Autonomous Region).  I don't know about DST for it.
  87. #
  88. # . . .I just deleted the DST table and this editor makes it too
  89. # painful to suck in another copy..  So, here is what I have for
  90. # DST start/end dates for Peking's time zone (info from AP):
  91. #
  92. #     1986 May 4 - Sept 14
  93. #     1987 mid-April - ??
  94.  
  95. # From U. S. Naval Observatory (January 19, 1989):
  96. # CHINA               8 H  AHEAD OF UTC  ALL OF CHINA, INCL TAIWAN
  97. # CHINA               9 H  AHEAD OF UTC  APR 17 - SEP 10
  98.  
  99. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  100. Rule    PRC    1970    max    -    Apr    Sun<=14    2:00    1:00    D
  101. Rule    PRC    1970    max    -    Sep    Sun<=14    3:00    0    S
  102.  
  103. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  104. Zone    PRC        8:00    PRC        C%sT
  105.  
  106. ###############################################################################
  107.  
  108. # Republic of China
  109.  
  110. # From Guy Harris
  111.  
  112. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  113. Zone    ROC        8:00    -        CST
  114.  
  115. ###############################################################################
  116.  
  117. # Hongkong
  118.  
  119. # From Guy Harris
  120.  
  121. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  122. Zone    Hongkong    8:00    -        HKT
  123.  
  124. ###############################################################################
  125.  
  126. # Iran
  127.  
  128. # From Bob Devine (January 28, 1988):
  129. # Iran: Last Sunday in March to third (?) Sunday in
  130. # September.  Since the revolution, the official calendar is Monarchic
  131. # calendar; I have no idea what the correspondence between dates are.
  132.  
  133. # From U. S. Naval Observatory (January 19, 1989):
  134. # IRAN                3.5H AHEAD OF UTC
  135.  
  136. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  137. Rule    Iran    1988    max    -    Mar    lastSun    2:00    1:00    D
  138. Rule    Iran    1988    max    -    Sep    Sun>=15    2:00    0    S
  139.  
  140. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  141. Zone    Iran        3:30    Iran        I%sT
  142.  
  143. ###############################################################################
  144.  
  145. # Israel
  146.  
  147. # From U. S. Naval Observatory (January 19, 1989):
  148. # ISRAEL              2 H  AHEAD OF UTC
  149. # ISRAEL              3 H  AHEAD OF UTC  APR 10 - SEP 3
  150.  
  151. # From Arthur David Olson (January 21, 1989):
  152. # Stick with rules below (which were provided by Guy Harris and which were
  153. # posted in 1988) for now.
  154.  
  155. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  156. Rule    Israel    1987    max    -    Apr    Sun<=21    2:00    1:00    D
  157. Rule    Israel    1987    max    -    Aug    Sat<=28    2:00    0    S
  158.  
  159. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  160. Zone    Israel        3:00    Israel        I%sT
  161.  
  162. ###############################################################################
  163.  
  164. # Japan
  165.  
  166. # From Guy Harris
  167.  
  168. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  169. Zone    Japan        9:00    -        JST
  170.  
  171. ###############################################################################
  172.  
  173. # Republic of Korea
  174.  
  175. # From Guy Harris:
  176. # According to someone at the Korean Times in San Francisco,
  177. # Daylight Savings Time was not observed until 1987.  He did not know
  178. # at what time of day DST starts or ends.
  179.  
  180. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  181. Rule    ROK    1987    max    -    May    Sun<=14    2:00    1:00    D
  182. Rule    ROK    1987    max    -    Oct    Sun<=14    3:00    0    S
  183.  
  184. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  185. Zone    ROK        9:00    ROK        K%sT
  186.  
  187. ###############################################################################
  188.  
  189. # Lebanon
  190.  
  191. # From Bob Devine (January 28, 1988):
  192. # Lebanon: They do have DST but I don't know the dates.
  193.  
  194. ###############################################################################
  195.  
  196. # Singapore
  197.  
  198. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  199. Zone    Singapore    8:00    -        SST
  200. End of asia
  201. echo file 'australasia' >&2
  202. cat >'australasia' <<'End of australasia'
  203. # @(#)australasia    7.1
  204.  
  205. # Incorporates updates for Australia from Robert Elz' australia 1.1
  206. # and further updates from the Australian consulate.
  207.  
  208. ###############################################################################
  209.  
  210. # Australia
  211.  
  212. # Australian Data (for states with DST), standard rules
  213. # Includes shift in 1987 to follow Vic/NSW rules for ending DST,
  214. # and shift in 1986 to start DST earlier.
  215.  
  216. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  217. Rule    Oz    1971    1985    -    Oct    lastSun    2:00    1:00    -
  218. Rule    Oz    1986    max    -    Oct    Sun<=24    2:00    1:00    -
  219. Rule    Oz    1972    only    -    Feb    27    3:00    0    -
  220. Rule    Oz    1973    1986    -    Mar    Sun>=1    3:00    0    -
  221. Rule    Oz    1987    max    -    Mar    Sun<=21    3:00    0    -
  222.  
  223. # Zone    NAME            GMTOFF    RULES    FORMAT    [UNTIL]
  224. Zone    Australia/Tasmania    10:00    Oz    EST
  225. Zone    Australia/Queensland    10:00    -    EST    # No DST here
  226. Zone    Australia/North        9:30    -    CST    # No DST here
  227. Zone    Australia/West        8:00    -    WST    # No DST here
  228. Zone    Australia/South        9:30    Oz    CST
  229.  
  230. # Victoria jumped to a later ending date for DST in 1986 rather than 1987.
  231.  
  232. Zone    Australia/Victoria    10:00    Oz    EST    1985 Oct lastSun 2:00
  233.                 10:00    1:00    EST    1986 Mar Sun<=21 3:00
  234.                 10:00    Oz    EST
  235.  
  236. # New South Wales and subjurisdictions have their own ideas of a fun time.
  237. # Based on law library research by John Mackin (john@basser.cs.su.oz),
  238. # who notes:
  239. #    In Australia, time is not legislated federally, but rather by the
  240. #    individual states.  Thus, while such terms as ``Eastern Standard Time''
  241. #    [I mean, of course, Australian EST, not any other kind] are in common
  242. #    use, _they have NO REAL MEANING_, as they are not defined in the
  243. #    legislation.  This is very important to understand.
  244. #    I have researched New South Wales time only; . . .I hope that perhaps a
  245. #    resident of each state could be found to do it for their own state.
  246. #    (And I can guarantee that Victoria and NSW are different, so the link
  247. #    between them in the current australasia file must be broken.)
  248.  
  249. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  250. Rule    NSW    1971    1985    -    Oct    lastSun    2:00    1:00    -
  251. Rule    NSW    1972    only    -    Feb    lastSun    3:00    0    -
  252. Rule    NSW    1973    1981    -    Mar    Sun>=1    3:00    0    -
  253. Rule    NSW    1982    only    -    Apr    4    3:00    0    -
  254. Rule    NSW    1983    1985    -    Mar    Sun>=1    3:00    0    -
  255. Rule    NSW    1986    only    -    Mar    16    3:00    0    -
  256. Rule    NSW    1986    only    -    Oct    19    2:00    1:00    -
  257. Rule    NSW    1987    only    -    Mar    15    3:00    0    -
  258. Rule    NSW    1987    max    -    Oct    lastSun    2:00    1:00    -
  259. Rule    NSW    1988    max    -    Mar    Sun<=21    3:00    0    -
  260.  
  261. # Zone    NAME            GMTOFF    RULES    FORMAT    [UNTIL]
  262. Zone    Australia/NSW        10:00    NSW    EST
  263. # `Broken Hill' means the County of Yancowinna. [john@basser.cs.su.oz.au,1/4/89]
  264. Zone    Australia/Yancowinna    9:30    NSW    ???
  265. Zone    Australia/LHI        10:30    NSW    ???
  266.  
  267. # A footnote here:
  268. #
  269. #    . . .
  270. #    Date: Thu, j19 Feb 87 12:02:17 EST
  271. #    From: Bradley White <seismo!k.cs.cmu.edu!bww>
  272. #    . . .
  273. #    I am including a description of Australian time zones. . .
  274. #    this stuff is definitely accurate.
  275. #    . . .
  276. #    a) Australian Eastern Time: (EST = GMT+10:00, EDT = GMT+11:00)
  277. #    . . .
  278. #    Summer of 86/87 - present (current legislation):
  279. #        third Sun Oct 02:00 EST -> third [S]un Mar 02:00 EST
  280. #
  281. # If this turns out to be true, substitute Sun<=21 (third Sunday in October)
  282. # for Sun<=24 (next-to-last Sunday in October) above. . .some time before
  283. # October 1988, the first time it makes a difference.
  284.  
  285. ###############################################################################
  286.  
  287. # New Zealand
  288.  
  289. # New Zealand, from Elz' asia 1.1
  290. # Elz says "no guarantees"
  291.  
  292. # From U. S. Naval Observatory (January 19, 1989):
  293. # NEW ZEALAND        12 H  AHEAD OF UTC  (EXCLUDING CHATHAM ISLAND)
  294. # NEW ZEALAND        13 H  AHEAD OF UTC  OCT 30, '88-MAR 4, '89
  295. # NEW ZEALAND       12H45M AHEAD OF UTC  CHATHAM ISLAND
  296.  
  297. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  298. Rule    NZ    1974    max    -    Oct    lastSun    2:00    1:00    D
  299. Rule    NZ    1975    max    -    Mar    Sun>=1    3:00    0    S
  300.  
  301. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  302. Zone    NZ            12:00    NZ        NZ%sT    # New Zealand
  303. End of australasia
  304. echo file 'europe' >&2
  305. cat >'europe' <<'End of europe'
  306. # @(#)europe    7.1
  307.  
  308. # International country codes are used to identify countries' rules and
  309. # zones
  310. #
  311. # This data is by no means authoritative; if you think you know better, go
  312. # ahead and edit the file (and please send any changes to
  313. # ado@ncifcrf.gov for general use in the future).
  314.  
  315. ###############################################################################
  316.  
  317. # United Kingdom
  318.  
  319. # From Arthur David Olson (January 19, 1989):
  320. #
  321. # The starting and ending dates below (from which the rules are derived)
  322. # are from Whitaker's Almanack for 1987, page 146.
  323. # 1960 is the earliest year for which dates are given;
  324. # Whitaker's notes that British Summer Time (and, in some years, Double Summer
  325. # Time) was observed in earlier years but does not give start and end dates.
  326. #
  327. # A source at the British Information Office in New York avers that it's
  328. # known as "British" Summer Time in all parts of the United Kingdom.
  329. #    1960    April 10    October 2 (yes, 2, according to the almanac)
  330. #    1961    March 26    October 29
  331. #    1962    March 25    October 28
  332. #    1963    March 31    October 27
  333. #    1964    March 22    October 25
  334. #    1965    March 21    October 24
  335. #    1966    March 20    October 23
  336. #    1967    March 19    October 29
  337. #    1968    February 18    October 27
  338. # "British Standard Time, also one hour ahead of G. M. T., was kept between
  339. # 1968 Oct. 27-1971 Oct. 31."
  340. #    1972    March 19    October 29
  341. #    1973    March 18    October 28
  342. #    1974    March 17    October 27
  343. #    1975    March 16    October 26
  344. #    1976    March 21    October 24
  345. #    1977    March 20    October 23
  346. #    1978    March 19    October 29
  347. #    1979    March 18    October 28
  348. #    1980    March 16    October 26
  349. #    1981    March 29    October 25
  350. #    1982    March 28    October 24
  351. #    1983    March 27    October 23
  352. #    1984    March 25    October 28
  353. #    1985    March 31    October 27
  354. #    1986    March 30    October 26
  355. #    1987    March 29    October 25
  356.  
  357. # From an Anonymous U. K. Donor (January 4, 1989):
  358. #
  359. # It is NOT possible to predict when [British Summer Time] will change
  360. # in a future year.
  361. #
  362. # (The admiralty calculate when they think it should be (no more that a couple
  363. # of years in advance) and advise the government who then decide whether or
  364. # not they will take the admiralty's advice)
  365. #
  366. # ...the Gre[e]nwich...observatory...[was] very helpful.
  367. #
  368. # I was not able to track down the Admiralty formula (I tried hard but failed)
  369.  
  370. # ...
  371. # Date: 4 Jan 89 08:57:25 GMT (Wed)
  372. # From: Jonathan Leffler <nih-csl!uunet!mcvax!sphinx.co.uk!john>
  373. # ...
  374. # [British Summer Time] is fixed annually by Act of Parliament.
  375. # If you can predict what Parliament will do, you should be in
  376. # politics making a fortune, not computing.
  377. #
  378. # Summer time ends on Sunday 29 October 1989.
  379.  
  380. # ...
  381. # Date: 5 Jan 89 09:50:38 GMT (Thu)
  382. # From: Peter Kendell <nih-csl!uunet!mcvax!tcom.stc.co.uk!pete>
  383. # ...
  384. #
  385. # From my Collins Diary for 1989 -
  386. #
  387. # "At the time of going to press the Home Office was unable to confirm
  388. # the 1989 starting and finishing dates for BST*, but expressed the
  389. # view that 26 March and 29 October were the likeliest dates to be
  390. # adopted"
  391. #
  392. # *British Summer Time.
  393.  
  394. # From an Anonymous U. K. Donor (January 5, 1989):
  395. #
  396. # . . .our government is seriously considering applying Double Summer Time -
  397. # putting the clocks forwards and back TWO hours for daylight saving time.
  398. # This is advocated to standardise time in the EEC - we're all supposed to
  399. # keep the same time and to change the clocks on the same dates in the future.
  400.  
  401. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  402. # Historic starting rules
  403. Rule    GB-Eire    1960    only    -    Apr    10    1:00s    1:00    BST
  404. Rule    GB-Eire    1961    1963    -    Mar    lastSun    1:00s    1:00    BST
  405. Rule    GB-Eire    1964    1967    -    Mar    Sun>=19    1:00s    1:00    BST
  406. Rule    GB-Eire    1968    only    -    Feb    18    1:00s    1:00    BST
  407. Rule    GB-Eire    1972    1980    -    Mar    Sun>=16    1:00s    1:00    BST
  408. # Historic ending rules
  409. Rule    GB-Eire    1960    only    -    Oct    2    1:00s    0    GMT
  410. Rule    GB-Eire    1961    1967    -    Oct    Sun>=23    1:00s    0    GMT
  411. Rule    GB-Eire    1971    only    -    Oct    31    1:00s    0    GMT
  412. # Current rules
  413. Rule    GB-Eire    1981    max    -    Mar    lastSun    1:00s    1:00    BST
  414. Rule    GB-Eire    1972    max    -    Oct    Sun>=23    1:00s    0    GMT
  415.  
  416. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  417. Zone    GB-Eire        0:00    GB-Eire        %s    1968 Oct 27 1:00s
  418.             1:00    -        BST    1971 Oct 31 1:00s
  419.             0:00    GB-Eire        %s
  420.  
  421. ###############################################################################
  422.  
  423. # Continental Europe
  424.  
  425. # The use of 1986 as starting years below is conservative.
  426.  
  427. Rule    W-Eur    1986    max    -    Mar    lastSun    1:00s    1:00    " DST"
  428. Rule    W-Eur    1986    max    -    Sep    lastSun    1:00s    0    -
  429.  
  430. Rule    M-Eur    1986    max    -    Mar    lastSun    2:00s    1:00    " DST"
  431. Rule    M-Eur    1986    max    -    Sep    lastSun    2:00s    0    -
  432.  
  433. Rule    E-Eur    1986    max    -    Mar    lastSun    3:00s    1:00    " DST"
  434. Rule    E-Eur    1986    max    -    Sep    lastSun    3:00s    0    -
  435.  
  436. Rule    Turkey    1986    max    -    Mar    lastSun    1:00    1:00    " DST"
  437. Rule    Turkey    1986    max    -    Sep    lastSun    1:00    0    -
  438.  
  439. Rule    W-SU    1986    max    -    Mar    lastSun    2:00s    1:00    " DST"
  440. Rule    W-SU    1986    max    -    Sep    lastSun    2:00s    0    -
  441.  
  442. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  443. Zone    WET        0:00    W-Eur        WET%s
  444. Zone    Iceland        0:00    -        WET
  445. Zone    MET        1:00    M-Eur        MET%s
  446. Zone    Poland        1:00    W-Eur        MET%s
  447. Zone    EET        2:00    E-Eur        EET%s
  448. Zone    Turkey        3:00    Turkey        EET%s
  449. Zone    W-SU        3:00    M-Eur        ????
  450.  
  451. # Tom Hoffman says that MET is also known as Central European Time
  452.  
  453. Link    MET    CET
  454.  
  455. ###############################################################################
  456.  
  457. # One source shows that Bulgaria, Cyprus, Finland, and Greece observe DST from
  458. # the last Sunday in March to the last Sunday in September in 1986.
  459. # The source shows Romania changing a day later than everybody else.
  460. #
  461. # According to Bernard Sieloff's source, Poland is in the MET time zone but
  462. # uses the WE DST rules.  The Western USSR uses EET+1 and ME DST rules.
  463. # Bernard Sieloff's source claims Romania switches on the same day, but at
  464. # 00:00 standard time (i.e., 01:00 DST).  It also claims that Turkey
  465. # switches on the same day, but switches on at 01:00 standard time
  466. # and off at 00:00 standard time (i.e., 01:00 DST)
  467.  
  468. # ...
  469. # Date: Wed, 28 Jan 87 16:56:27 -0100
  470. # From: seismo!mcvax!cgcha!wtho (Tom Hofmann)
  471. # Message-Id: <8701281556.AA22174@cgcha.uucp>
  472. # ...
  473. #
  474. # ...the European time rules are...standardized since 1981, when
  475. # most European coun[tr]ies started DST.  Before that year, only
  476. # a few countries (UK, France, Italy) had DST, each according
  477. # to own national rules.  In 1981, however, DST started on
  478. # 'Apr firstSun', and not on 'Mar lastSun' as in the following
  479. # years...
  480. # But also since 1981 there are some more national exceptions
  481. # than listed in 'europe': Switzerland, for example, joined DST
  482. # one year later, Denmark ended DST on 'Oct 1' instead of 'Sep
  483. # lastSun' in 1981---I don't know how they handle now.
  484. #
  485. # Finally, DST ist always from 'Apr 1' to 'Oct 1' in the
  486. # Soviet Union (as far as I know).
  487. #
  488. # Tom Hofmann, Scientific Computer Center, CIBA-GEIGY AG,
  489. # 4002 Basle, Switzerland
  490. # UUCP: ...!mcvax!cernvax!cgcha!wtho
  491.  
  492. # ...
  493. # Date: Wed, 4 Feb 87 22:35:22 +0100
  494. # From: seismo!mcvax!cwi.nl!dik (Dik T. Winter)
  495. # ...
  496. #
  497. # The information from Tom Hofmann is (as far as I know) not entirely correct.
  498. # After a request from chongo at amdahl I tried to retrieve all information
  499. # about DST in Europe.  I was able to find all from about 1969.
  500. #
  501. # ...standardization on DST in Europe started in about 1977 with switches on
  502. # first Sunday in April and last Sunday in September...
  503. # In 1981 UK joined Europe insofar that
  504. # the starting day for both shifted to last Sunday in March.  And from 1982
  505. # the whole of Europe used DST, with switch dates April 1 and October 1 in
  506. # the Sov[i]et Union.  In 1985 the SU reverted to standard Europe[a]n switch
  507. # dates...
  508. #
  509. # It should also be remembered that time-zones are not constants; e.g.
  510. # Portugal switched in 1976 from MET (or CET) to WET with DST...
  511. # Note also that though there were rules for switch dates not
  512. # all countries abided to these dates, and many individual deviations
  513. # occurred, though not since 1982 I believe.  Another note: it is always
  514. # assumed that DST is 1 hour ahead of normal time, this need not be the
  515. # case; at least in the Netherlands there have been times when DST was 2 hours
  516. # in advance of normal time.
  517. #
  518. # ...
  519. # dik t. winter, cwi, amsterdam, nederland
  520. # INTERNET   : dik@cwi.nl
  521. # BITNET/EARN: dik@mcvax
  522.  
  523. # From Bob Devine (January 28, 1988):
  524. # ...
  525. # Greece: Last Sunday in April to last Sunday in September (iffy on dates).
  526. # Since 1978.  Change at midnight.
  527. # ...
  528. # Monaco: has same DST as France.
  529. # ...
  530. End of europe
  531. echo file 'northamerica' >&2
  532. cat >'northamerica' <<'End of northamerica'
  533. # @(#)northamerica    7.1
  534.  
  535. ###############################################################################
  536.  
  537. # United States
  538.  
  539. # From Arthur David Olson:
  540. # US Daylight Saving Time ended on the last Sunday of *October* in 1974.
  541. # See, for example, the front page of the Saturday, October 26, 1974
  542. # and Sunday, October 27, 1974 editions of the Washington Post.
  543.  
  544. # From seismo!munnari!kre:
  545. # I recall also being told by someone once that Canada didn't have
  546. # the DST variations in 74/75 that the US did, but I am not nearly
  547. # sure enough of this to add anything.
  548.  
  549. # From Arthur David Olson:
  550. # The above has been confirmed by Bob Devine; we'll go with it here.
  551.  
  552. # From Arthur David Olson:
  553. # Before the Uniform Time Act of 1966 took effect in 1967, observance of
  554. # Daylight Saving Time in the US was by local option, except during wartime.
  555.  
  556. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  557. Rule    US    1918    1919    -    Mar    lastSun    2:00    1:00    D
  558. Rule    US    1918    1919    -    Oct    lastSun    2:00    0    S
  559. Rule    US    1942    only    -    Feb    9    2:00    1:00    W # War
  560. Rule    US    1945    only    -    Sep    30    2:00    0    S
  561. Rule    US    1967    max    -    Oct    lastSun    2:00    0    S
  562. Rule    US    1967    1973    -    Apr    lastSun    2:00    1:00    D
  563. Rule    US    1974    only    -    Jan    6    2:00    1:00    D
  564. Rule    US    1975    only    -    Feb    23    2:00    1:00    D
  565. Rule    US    1976    1986    -    Apr    lastSun    2:00    1:00    D
  566. Rule    US    1987    max    -    Apr    Sun>=1    2:00    1:00    D
  567.  
  568. # From Bob Devine (January 28, 1988):
  569. # ...Alaska (and Hawaii) had the timezone names changed in 1967.
  570. #    old                         new
  571. #    Pacific Standard Time(PST)  -same-
  572. #    Yukon Standard Time(YST)    -same-
  573. #    Central Alaska S.T. (CAT)   Alaska-Hawaii St[an]dard Time (AHST)
  574. #    Nome Standard Time (NT)     Bering Standard Time (BST)
  575. #
  576. # ...Alaska's timezone lines were redrawn in 1983 to give only 2 tz.
  577. #    The YST zone now covers nearly all of the state, AHST just part
  578. #    of the Aleutian islands.   No DST.
  579.  
  580. # From U. S. Naval Observatory (January 19, 1989):
  581. # USA  EASTERN       5 H  BEHIND UTC    NEW YORK, WASHINGTON
  582. # USA  EASTERN       4 H  BEHIND UTC    APR 3 - OCT 30
  583. # USA  CENTRAL       6 H  BEHIND UTC    CHICAGO, HOUSTON
  584. # USA  CENTRAL       5 H  BEHIND UTC    APR 3 - OCT 30
  585. # USA  MOUNTAIN      7 H  BEHIND UTC    DENVER
  586. # USA  MOUNTAIN      6 H  BEHIND UTC    APR 3 - OCT 30
  587. # USA  PACIFIC       8 H  BEHIND UTC    L.A., SAN FRANCISCO
  588. # USA  PACIFIC       7 H  BEHIND UTC    APR 3 - OCT 30
  589. # USA  ALASKA STD    9 H  BEHIND UTC    MOST OF ALASKA     (AKST)
  590. # USA  ALASKA STD    8 H  BEHIND UTC    APR 3 - OCT 30 (AKDT)
  591. # USA  ALEUTIAN     10 H  BEHIND UTC    ISLANDS WEST OF 170W
  592. # USA  - " -         9 H  BEHIND UTC    APR 3 - OCT 30
  593. # USA  HAWAII       10 H  BEHIND UTC
  594. # USA  BERING       11 H  BEHIND UTC    SAMOA, MIDWAY
  595.  
  596. # From Arthur David Olson (January 21, 1989):
  597. # The above dates are for 1988.
  598. # Note the "AKST" and "AKDT" abbreviations, the claim that there's
  599. # no DST in Samoa, and the claim that there is DST in Alaska and the
  600. # Aleutians.
  601.  
  602. # From Arthur David Olson (February 13, 1988):
  603. # Legal standard time zone names, from United States Code (1982 Edition and
  604. # Supplement III), Title 15, Chapter 6, Section 260 and forward.  First, names
  605. # up to April 1, 1967 (when most provisions of the Uniform Time Act of 1966
  606. # took effect), as explained in sections 263 and 261:
  607. #    (none)
  608. #    United States standard eastern time
  609. #    United States standard mountain time
  610. #    United States standard central time
  611. #    United States standard Pacific time
  612. #    (none)
  613. #    United States standard Alaska time
  614. #    (none)
  615. # Next, names from April 1, 1967 until November 30, 1983 (the date for
  616. # public law 98-181):
  617. #    Atlantic standard time
  618. #    eastern standard time
  619. #    central standard time
  620. #    mountain standard time
  621. #    Pacific standard time
  622. #    Yukon standard time
  623. #    Alaska-Hawaii standard time
  624. #    Bering standard time
  625. # And after November 30, 1983:
  626. #    Atlantic standard time
  627. #    eastern standard time
  628. #    central standard time
  629. #    mountain standard time
  630. #    Pacific standard time
  631. #    Alaska standard time
  632. #    Hawaii-Aleutian standard time
  633. #    Samoa standard time
  634. # The law doesn't give abbreviations.
  635.  
  636. # Easy stuff first--including Alaska, where we ignore history (since we
  637. # can't tell if we should give Yukon time or Alaska-Hawaii time for "old"
  638. # times).
  639.  
  640. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  641. Zone    US/Eastern    -5:00    US        E%sT
  642. Zone    US/Central    -6:00    US        C%sT
  643. Zone    US/Mountain    -7:00    US        M%sT
  644. Zone    US/Pacific    -8:00    US        P%sT
  645. Zone    US/Alaska    -9:00    US        AK%sT    # Abbreviation per USNO
  646.  
  647. # Mainland US areas that are always Standard as of 1986.
  648.  
  649. Zone    US/East-Indiana    -5:00    US        E%sT    1946
  650.             -5:00    -        EST    # Always EST as of 1986
  651. Zone    US/Arizona    -7:00    US        M%sT    1946
  652.             -7:00    -        MST    # Always MST as of 1986
  653.  
  654. # From Arthur David Olson (February 13, 1988):
  655. # However. . .a writer from the Inter Tribal Council of Arizona, Inc.,
  656. # notes in private correspondence dated 12/28/87 that "Presently, only the
  657. # Navajo Nation participates in the Daylight Saving Time policy, due to its
  658. # large size and location in three states."  (The "only" means that other
  659. # tribal nations don't use DST.)
  660.  
  661. Link    US/Mountain    Navajo
  662.  
  663. # From Bob Devine (January 28, 1988):
  664. # Michigan didn't observe DST from 1968 to 1973.
  665.  
  666. Zone    US/Michigan    -5:00    US        E%sT    1968
  667.             -5:00    -        EST    1973
  668.             -5:00    US        E%sT
  669.  
  670. # Samoa just changes names.  No DST, per Naval Observatory.
  671.  
  672. Zone    US/Samoa    -11:00    -        NST    1967 Apr 1  # N=Nome
  673.             -11:00    -        BST    1983 Nov 30 # B=Bering
  674.             -11:00    -        SST            # S=Samoa
  675.  
  676. # Aleutian has a name change.  DST, per Naval Observatory.
  677.  
  678. Zone    US/Aleutian    -10:00    US        AH%sT    1983 Nov 30
  679.             -10:00    US        HA%sT
  680.  
  681. # From Arthur David Olson:
  682. # And then there's Hawaii.
  683. # DST was observed for one day in 1933;
  684. # Standard time was change by half an hour in 1947;
  685. # it's always standard as of 1986.
  686.  
  687. Zone    US/Hawaii    -10:30    US    H%sT    1933 Apr 30 2:00
  688.             -10:30    1:00    HDT    1933 May 1 2:00
  689.             -10:30    US    H%sT    1947 Jun 8 2:00
  690.             -10:00    -    HST
  691.  
  692. # Old names, for S5 users
  693.  
  694. # Link    LINK-FROM    LINK-TO
  695. # Link    US/Eastern    EST5EDT
  696. # Link    US/Central    CST6CDT
  697. # Link    US/Mountain    MST7MDT
  698. # Link    US/Pacific    PST8PDT
  699. # Link    US/East-Indiana    EST
  700. # Link    US/Arizona    MST
  701. # Link    US/Hawaii    HST
  702.  
  703. ################################################################################
  704.  
  705. # Canada
  706.  
  707. # Canada is reportedly lots easier than the US--leastways since 1951.
  708. # I don't know what they did before then.
  709. # 4.3BSD claims that it's perfectly regular.
  710. # According to a posting in "comp.bugs.misc", "comp.unix.wizards", etc.
  711. # on February 8, 1987, by Dave Sherman of the Law Society of Upper Canada,
  712. # "...Canada (well, Ontario and at least some of the other provinces) are
  713. # adopting the new daylight savings time rules...".  We assume all of
  714. # Canada is doing so.
  715.  
  716. # From Bob Devine (January 28, 1988):
  717. # All of Canada did have DST from your first rule except Saskatchewan.
  718. # Which parts did not observe DST is hard to pinpoint but most of the
  719. # province follows the rules.
  720. # NOTE: those that didn't have DST for that rule, also
  721. # probably did not have it for several years previous.
  722.  
  723. # From U. S. Naval Observatory (January 19, 1989):
  724. # CANADA   NEW FDL    3.5H BEHIND UTC    ST.JOHN'S
  725. # CANADA   NEW FDL    1.5H BEHIND UTC    APR 3 - OCT 29
  726. # CANADA   ATLANTIC   4 H  BEHIND UTC    HALIFAX
  727. # CANADA   ATLANTIC   3 H  BEHIND UTC    APR 3 - OCT 29
  728. # CANADA   EASTERN    5 H  BEHIND UTC    TORONTO, MONTREAL, OTTAWA
  729. # CANADA   EASTERN    4 H  BEHIND UTC    APR 3 - OCT 29
  730. # CANADA   CENTRAL    6 H  BEHIND UTC    REGINA, WINNIPEG
  731. # CANADA   CENTRAL    5 H  BEHIND UTC    APR 3 - OCT 29
  732. # CANADA   MOUNTAIN   7 H  BEHIND UTC    CALGARY, EDMONTON
  733. # CANADA   MOUNTAIN   6 H  BEHIND UTC    APR 3 - OCT 29
  734. # CANADA   PACIFIC    8 H  BEHIND UTC    VANCOUVER
  735. # CANADA   PACIFIC    7 H  BEHIND UTC    APR 3 - OCT 29
  736. # CANADA   YUKON      SAME AS PACIFIC    DAWSON
  737.  
  738. # From Arthur David Olson (January 21, 1989):
  739. # April 3 fell on a Sunday in 1988; October 29 fell on a Sunday in 1989.  Ahem.
  740. # Note claim that there's double DST in Newfoundland and that Yukon should
  741. # be same as Pacific.  Stick with rules posted in 1988 until more authoritative
  742. # information is available.
  743.  
  744. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  745. Rule    Canada    1969    max    -    Oct    lastSun    2:00    0    S
  746. Rule    Canada    1969    1986    -    Apr    lastSun    2:00    1:00    D
  747. Rule    Canada    1987    max    -    Apr    Sun>=1    2:00    1:00    D
  748.  
  749. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  750. # Bob Devine says that DST *is* observed in Newfoundland
  751. Zone    Canada/Newfoundland    -3:30    Canada        N%sT
  752. Zone    Canada/Atlantic        -4:00    Canada        A%sT
  753. Zone    Canada/Eastern        -5:00    Canada        E%sT
  754. Zone    Canada/Central        -6:00    Canada        C%sT
  755. Zone    Canada/East-Saskatchewan    -6:00    -    CST # No DST as of 1987
  756. Zone    Canada/Mountain        -7:00    Canada        M%sT
  757. Zone    Canada/Pacific        -8:00    Canada        P%sT
  758. Zone    Canada/Yukon        -9:00    Canada        Y%sT
  759.  
  760. ###############################################################################
  761.  
  762. # Mexico
  763.  
  764. # From Guy Harris:
  765. # Rules are from the Official Airline Guide, Worldwide Edition, for 1987.
  766. # Rules prior to 1987 are unknown.
  767. # The comments in the OAG say "Only Ensenada, Mexicale, San Felipe and Tijuana
  768. # observe DST."  This is presumably Baja California Norte, above 28th parallel,
  769. # as listed there; Mexico/BajaSur is for "Baja California Sur and N. Pacific
  770. # Coast (States of Sinaloa and Sonora)."
  771.  
  772. # From Bob Devine (January 28, 1988):
  773. # The Federal District (where Mexico City is) has observed [DST] several
  774. # times but not recently.
  775. #
  776. # I don't where to drawn the line in the North Baja area.  28th latitude
  777. # sounds good -- but it may be higher (how far [d]o radio stations from
  778. # San Diego affect culture?).
  779. #
  780. # The dates of DST probably go back to 1981.  The rules are the same as
  781. # US's.  This is going to be a headache for US presidential electi[o]n years!
  782.  
  783. # From Arthur David Olson (February 13, 1988)
  784. # Since the 1981 starting date is only "probable," we'll keep the 1987
  785. # starting date below.
  786.  
  787. # From U. S. Naval Observatory (January 19, 1989):
  788. # MEXICO BAJA CAL N   7 H  BEHIND UTC    BAJA CALIFORNIA SUR AND
  789. # MEXICO BAJA CAL N                      N. PACIFIC COAST (STATES
  790. # MEXICO BAJA CAL N                      OF SINALOA AND SONORA)
  791. # MEXICO BAJA CAL N   8 H  BEHIND UTC    ABOVE 28TH PARALLAL APR 3
  792. # MEXICO BAJA CAL N                      - OCT 29
  793. # MEXICO BAJA CAL N   7 H  BEHIND UTC    ABOVE 28TH PARALLAL APR 3
  794. # MEXICO BAJA CAL N                      - 0CT 29
  795. # MEXICO              6 H  BEHIND UTC    STATES OF DURANGO,
  796. # MEXICO                                 COAHUILA, NUEVO LEON,
  797. # MEXICO                                 TAMAULIPAS
  798. # MEXICO              5 H  BEHIND UTC    STATES OF DURANGO,
  799. # MEXICO                                 COAHUILA, NUEVO LEON,
  800. # MEXICO                                 TAMAULIPAS  APR 3 - OCT 29
  801. # MEXICO              6 H  BEHIND UTC    GENERAL MEXICO, STATES OF
  802. # MEXICO                                 CAMPECHE, QUINTANA ROO AND
  803. # MEXICO                                 YUCATAN
  804.  
  805. # From Arthur David Olson (January 21, 1989):
  806. # April 3 fell on a Sunday in 1988; October 29 fell on a Sunday in 1989.  Ahem.
  807. # USNO claims there should be four Mexican zones rather than three:
  808. # a zone that's GMT-8 with DST; a zone that's always GMT-7;
  809. # a zone that's GMT-6 with DST; and a zone that's always GMT-6.
  810. # Wait for more authoritative information before changing.
  811.  
  812. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  813. Rule    Mexico    1987    max    -    Oct    lastSun    2:00    0    S
  814. Rule    Mexico    1987    max    -    Apr    Sun>=1    2:00    1:00    D
  815.  
  816. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  817. Zone    Mexico/BajaNorte    -8:00    Mexico        P%sT
  818. Zone    Mexico/BajaSur        -7:00    -        MST
  819. Zone    Mexico/General        -6:00    -        CST
  820.  
  821. ###############################################################################
  822.  
  823. # Jamaica
  824.  
  825. # From Bob Devine (January 28, 1988):
  826. # Follows US rules.
  827.  
  828. # From U. S. Naval Observatory (January 19, 1989):
  829. # JAMAICA             5 H  BEHIND UTC
  830.  
  831. Link    US/Eastern    Jamaica
  832.  
  833. ###############################################################################
  834.  
  835. # Cuba
  836.  
  837. # From Bob Devine (January 28, 1988):
  838. # . . .DST is from 2nd Sunday in May to 2nd Sunday in October since 1981.
  839. # Change at midnight.  In 1979 & 1980, started at 3rd Sunday in March
  840. # (I think).
  841.  
  842. # From U. S. Naval Observatory (January 19, 1989):
  843. # CUBA                5 H  BEHIND UTC
  844. # CUBA                4 H  BEHIND UTC    MAR 20 - OCT 8
  845.  
  846. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  847. Rule    Cuba    1979    1980    -    Mar    Sun>=15    0:00    1:00    D
  848. Rule    Cuba    1979    1980    -    Oct    Sun>=8    0:00    0    S
  849. Rule    Cuba    1981    max    -    May    Sun>=8    0:00    1:00    D
  850. Rule    Cuba    1981    max    -    Oct    Sun>=8    0:00    0    S
  851.  
  852. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT
  853. Zone    Cuba            -5:00    Cuba        C%sT
  854. End of northamerica
  855. echo file 'southamerica' >&2
  856. cat >'southamerica' <<'End of southamerica'
  857. # @(#)southamerica    7.1
  858.  
  859. # From Guy Harris:
  860. # From Official Airline Guide - Worldwide Edition (1987).  Countries not
  861. # listed here do not observe DST, according to the OAG.  Time zone names
  862. # are pure inventions, and none are supplied for countries not observing
  863. # DST; updates from natives would be appreciated.  The times that DST
  864. # starts and ends are based on the assumption that they switch a 2AM just
  865. # as everybody else does.
  866.  
  867. ###############################################################################
  868.  
  869. # Brazil
  870.  
  871. # From Guy Harris:
  872. # The OAG lists October 25, 1987 and February 12, 1988 as the starting and
  873. # ending dates, giving them as "estimated date(s) based on previous year".  We
  874. # infer a rule here from one example, always a dangerous practice....  Yes,
  875. # they really do switch on Saturday, according to the OAG.
  876. # "Brazil/Acre" is for the Territory of Acre; "Brazil/DeNoronha" is for
  877. # Fernando De Noronha.
  878.  
  879. # From Bob Devine (January 28, 1988):
  880. # The only information I found is that there was no DST up to 1985.
  881. # But there was some before 1952!
  882.  
  883. # From U. S. Naval Observatory (January 16, 1989):
  884. # BRAZIL     WEST     5 H  BEHIND UTC    TERRITORY OF ACRE
  885. # BRAZIL     WEST     4 H  BEHIND UTC    ACRE OCT 23, '88-FEB 11,
  886. # BRAZIL                                 '89 (ESTIMATED)
  887. # BRAZIL     CENTRAL  4 H  BEHIND UTC    MANAUS
  888. # BRAZIL     CENTRAL  3 H  BEHIND UTC    MANAUS OCT 23, '88-FEB 11,
  889. # BRAZIL     CENTRAL                     '89 (ESTIMATED)
  890. # BRAZIL     EAST     3 H  BEHIND UTC    COASTAL STATES, RIO, SAO
  891. # BRAZIL     EAST                        PAULO, BRASILIA
  892. # BRAZIL     EAST     2 H  BEHIND UTC    COASTAL STATES, RIO, SAO
  893. # BRAZIL                                 PAULO, BRASILIA OCT 23,
  894. # BRAZIL                                 '88-FEB 11, '89
  895. # BRAZIL                                 (ESTIMATED)
  896. # BRAZIL              2 H  BEHIND UTC    ATLANTIC ISLANDS, FERNANDO
  897. # BRAZIL                                 DE NORONHA
  898. # BRAZIL              1 H  BEHIND UTC    OCT 23, '88-FEB 11, '89
  899. # BRAZIL                                 (ESTIMATED)
  900. # BRAZIL              3 H  BEHIND UTC    FOR MOST MAJOR AIRPORTS.
  901.  
  902. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  903. Rule    Brazil    1987    max    -    Feb    Sat<=14    2:00    0    S
  904. Rule    Brazil    1987    max    -    Oct    Sat<=28    2:00    1:00    D
  905.  
  906. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  907. Zone    Brazil/East        -3:00    Brazil        E%sT
  908. Zone    Brazil/West        -4:00    Brazil        W%sT
  909. Zone    Brazil/Acre        -5:00    Brazil        A%sT
  910. Zone    Brazil/DeNoronha    -2:00    Brazil        F%sT
  911.  
  912. ###############################################################################
  913.  
  914. # Chile
  915.  
  916. # From Guy Harris:
  917. # The OAG lists October 11, 1987 and March 12, 1988 as the starting and
  918. # ending dates, giving them as "estimated date(s) based on previous year."
  919.  
  920. # From Bob Devine (January 28, 1988):
  921. # Chile has had 2nd Sunday in October to 2nd Sunday in March DST since 1977.
  922. # Switch is at midnight. OAG is right.
  923.  
  924. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  925. Rule    Chile    1977    max    -    Oct    Sun>=8    0:00    1:00    D
  926. Rule    Chile    1978    max    -    Mar    Sun>=8    0:00    0    S
  927.  
  928. # Zone    NAME            GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  929. Zone    Chile/Continental    -4:00    Chile        C%sT
  930. Zone    Chile/EasterIsland    -6:00    Chile        E%sT
  931.  
  932. ###############################################################################
  933.  
  934. # Paraguay
  935.  
  936. # From Bob Devine (January 28, 1988):
  937. # Paraguay: First day in October to last in March.  Midnight switch??
  938. # Since 1980.
  939.  
  940. # From U. S. Naval Observatory (January 19, 1989):
  941. # PARAGUAY            4 H  BEHIND UTC
  942. # PARAGUAY            3 H  BEHIND UTC    OCT 1, '88-MAR 31, '89
  943.  
  944. # From Arthur David Olson (January 21, 1989):
  945. # Still don't know time of day when switch occurs.  Punt.
  946.  
  947. ###############################################################################
  948.  
  949. # Argentina
  950.  
  951. # From Bob Devine (January 28, 1988):
  952. # Argentina: first Sunday in October to first Sunday in April since 1976.
  953. # Double Summer time from 1969 to 1974.  Switches at midnight.
  954.  
  955. # From U. S. Naval Observatory (January 19, 19889):
  956. # ARGENTINA           3 H BEHIND   UTC
  957.  
  958. # From Arthur David Olson (January 21, 1989):
  959. # OAG, USNO and Bob have different data.  Punt.
  960. End of southamerica
  961. echo file 'pacificnew' >&2
  962. cat >'pacificnew' <<'End of pacificnew'
  963. # @(#)pacificnew    7.1
  964.  
  965. # From Arthur David Olson (April 5, 1989):
  966. # On April 5, 1989, the U. S. House of Representatives passed (238-154) a bill
  967. # establishing "Pacific Presidential Election Time"; it has yet to be acted on
  968. # by the Senate or signed into law by the President.
  969. # You might want to change the "PE" (Presidential Election) below to
  970. # "Q" (Quadrennial) to maintain three-character zone abbreviations.
  971. # If you're really conservative, you might want to change it to "D".
  972. # Avoid "L" (Leap Year), which won't be true in 2100.
  973.  
  974. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  975. Rule    Twilite    1989    max    -    Apr    Sun>=1    2:00    1:00    D
  976. Rule    Twilite    1989    max    uspres    Oct    lastSun    2:00    1:00    PE
  977. Rule    Twilite    1989    max    uspres    Nov    Sun>=7    2:00    0    S
  978. Rule    Twilite    1989    max    nonpres    Oct    lastSun    2:00    0    S
  979.  
  980. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  981. Zone    US/Pacific-New    -8:00    US        P%sT    1989
  982.             -8:00    Twilite        P%sT
  983. End of pacificnew
  984. echo file 'etcetera' >&2
  985. cat >'etcetera' <<'End of etcetera'
  986. # @(#)etcetera    7.1
  987.  
  988. # All of these are set up just so people can "zic -l" to a timezone
  989. # that's right for their area, even if it doesn't have a name or dst rules
  990. # (half hour zones are too much to bother with -- when someone asks!)
  991.  
  992. Zone    GMT        0    -    GMT
  993.  
  994. Zone    GMT-12        -12    -    GMT-1200
  995. Zone    GMT-11        -11    -    GMT-1100
  996. Zone    GMT-10        -10    -    GMT-1000
  997. Zone    GMT-9        -9    -    GMT-0900
  998. Zone    GMT-8        -8    -    GMT-0800
  999. Zone    GMT-7        -7    -    GMT-0700
  1000. Zone    GMT-6        -6    -    GMT-0600
  1001. Zone    GMT-5        -5    -    GMT-0500
  1002. Zone    GMT-4        -4    -    GMT-0400
  1003. Zone    GMT-3        -3    -    GMT-0300
  1004. Zone    GMT-2        -2    -    GMT-0200
  1005. Zone    GMT-1        -1    -    GMT-0100
  1006. Zone    GMT+1        1    -    GMT+0100
  1007. Zone    GMT+2        2    -    GMT+0200
  1008. Zone    GMT+3        3    -    GMT+0300
  1009. Zone    GMT+4        4    -    GMT+0400
  1010. Zone    GMT+5        5    -    GMT+0500
  1011. Zone    GMT+6        6    -    GMT+0600
  1012. Zone    GMT+7        7    -    GMT+0700
  1013. Zone    GMT+8        8    -    GMT+0800
  1014. Zone    GMT+9        9    -    GMT+0900
  1015. Zone    GMT+10        10    -    GMT+1000
  1016. Zone    GMT+11        11    -    GMT+1100
  1017. Zone    GMT+12        12    -    GMT+1200
  1018. Zone    GMT+13        13    -    GMT+1300    # GMT+12 with DST
  1019.  
  1020. Link    GMT        UTC
  1021. Link    GMT        UCT
  1022. Link    GMT        Universal
  1023. Link    GMT        Greenwich
  1024. Link    GMT        Zulu
  1025. Link    GMT        GMT-0
  1026. Link    GMT        GMT+0
  1027. Link    GMT        GMT0
  1028. Link    GMT+1        GMT1
  1029. Link    GMT+2        GMT2
  1030. Link    GMT+3        GMT3
  1031. Link    GMT+4        GMT4
  1032. Link    GMT+5        GMT5
  1033. Link    GMT+6        GMT6
  1034. Link    GMT+7        GMT7
  1035. Link    GMT+8        GMT8
  1036. Link    GMT+9        GMT9
  1037. Link    GMT+10        GMT10
  1038. Link    GMT+11        GMT11
  1039. Link    GMT+12        GMT12
  1040. Link    GMT+13        GMT13
  1041. End of etcetera
  1042. echo file 'factory' >&2
  1043. cat >'factory' <<'End of factory'
  1044. # @(#)factory    7.1
  1045.  
  1046. # For companies who don't want to put time zone specification in
  1047. # their installation procedures.  When users run date, they'll get the message.
  1048. # Also useful for the "comp.sources" version.
  1049.  
  1050. # Zone    NAME    GMTOFF    RULES    FORMAT
  1051. Zone    Factory    0    - "Local time zone must be set--see zic manual page"
  1052. End of factory
  1053. echo file 'systemv' >&2
  1054. cat >'systemv' <<'End of systemv'
  1055. # @(#)systemv    7.1
  1056.  
  1057. # Old rules, should the need arise.
  1058. # No attempt is made to handle Newfoundland, since it cannot be expressed
  1059. # using the System V "TZ" scheme (half-hour offset), or anything outside
  1060. # North America (no support for non-standard DST start/end dates), nor
  1061. # the change in the DST rules in the US in 1987 (can't split between
  1062. # Canada, with no changes, and the US)
  1063. #
  1064. # Be sure to compile this *without* leap second correction for true conformance.
  1065.  
  1066. # Rule    NAME    FROM    TO    TYPE    IN    ON    AT    SAVE    LETTER/S
  1067. Rule    SystemV    min    1973    -    Apr    lastSun    2:00    1:00    D
  1068. Rule    SystemV    min    1973    -    Oct    lastSun    2:00    0    S
  1069. Rule    SystemV    1974    only    -    Jan    6    2:00    1:00    D
  1070. Rule    SystemV    1974    only    -    Nov    lastSun    2:00    0    S
  1071. Rule    SystemV    1975    only    -    Feb    23    2:00    1:00    D
  1072. Rule    SystemV    1975    only    -    Oct    lastSun    2:00    0    S
  1073. Rule    SystemV    1976    max    -    Apr    lastSun    2:00    1:00    D
  1074. Rule    SystemV    1976    max    -    Oct    lastSun    2:00    0    S
  1075.  
  1076. # Zone    NAME        GMTOFF    RULES/SAVE    FORMAT    [UNTIL]
  1077. Zone    SystemV/AST4ADT    -4:00    SystemV        A%sT
  1078. Zone    SystemV/EST5EDT    -5:00    SystemV        E%sT
  1079. Zone    SystemV/CST6CDT    -6:00    SystemV        C%sT
  1080. Zone    SystemV/MST7MDT    -7:00    SystemV        M%sT
  1081. Zone    SystemV/PST8PDT    -8:00    SystemV        P%sT
  1082. Zone    SystemV/YST9YDT    -9:00    SystemV        Y%sT
  1083. Zone    SystemV/AST4    -4:00    -        AST
  1084. Zone    SystemV/EST5    -5:00    -        EST
  1085. Zone    SystemV/CST6    -6:00    -        CST
  1086. Zone    SystemV/MST7    -7:00    -        MST
  1087. Zone    SystemV/PST8    -8:00    -        PST
  1088. Zone    SystemV/YST9    -9:00    -        YST
  1089. Zone    SystemV/HST10    -10:00    -        HST
  1090. End of systemv
  1091. echo file 'leapseconds' >&2
  1092. cat >'leapseconds' <<'End of leapseconds'
  1093. # @(#)leapseconds    7.1
  1094.  
  1095. # Allowance for leapseconds added to each timezone file.
  1096.  
  1097. # The correction (+ or -) is made at the given time, so lines
  1098. # will typically look like:
  1099. #    Leap    YEAR    MON    DAY    23:59:60    +    R/S
  1100. # or
  1101. #    Leap    YEAR    MON    DAY    23:59:59    -    R/S
  1102.  
  1103. # If the leapsecond is Rolling (R) the given time is local time
  1104. # If the leapsecond is Stationary (S) the given time is GMT
  1105.  
  1106. # Leap    YEAR    MONTH    DAY    HH:MM:SS    CORR    R/S
  1107. Leap    1972    Jun    30    23:59:60    +    S
  1108. Leap    1972    Dec    31    23:59:60    +    S
  1109. Leap    1973    Dec    31    23:59:60    +    S
  1110. Leap    1974    Dec    31    23:59:60    +    S
  1111. Leap    1975    Dec    31    23:59:60    +    S
  1112. Leap    1976    Dec    31    23:59:60    +    S
  1113. Leap    1977    Dec    31    23:59:60    +    S
  1114. Leap    1978    Dec    31    23:59:60    +    S
  1115. Leap    1979    Dec    31    23:59:60    +    S
  1116. Leap    1981    Jun    30    23:59:60    +    S
  1117. Leap    1982    Jun    30    23:59:60    +    S
  1118. Leap    1983    Jun    30    23:59:60    +    S
  1119. Leap    1985    Jun    30    23:59:60    +    S
  1120. Leap    1987    Dec    31    23:59:60    +    S
  1121. End of leapseconds
  1122. exit
  1123.