Here are proposed changes for the tz database. The most pressing changes are for Turkey and Pulaski County, Indiana, as they affect clock transitions next month. * Turkey switches at 01:00 standard time, not at 01:00 UTC. (Thanks to Amar Devegowda and Steffen Thorsen for this.) * Pulaski County, Indiana, is switching from CST/CDT to EST/EDT next month (which means a 2-hour change on March 11). This requires a new Zone, America/Indiana/Winamac. (Thanks to Gwillim Law for the heads-up.) * A slight correction to Easter Island Mean Time (1890-1932). * Update comments for Canada. (Thanks to Chris Walton.) * Add an example to the zic man page, to help explain things a bit better. * Add URLs to http://www.calconnect.org/dstlinks.html and to http://www.chronos-st.org/. =================================================================== RCS file: RCS/zic.8,v retrieving revision 2006.13 retrieving revision 2006.13.0.1 diff -u -r2006.13 -r2006.13.0.1 --- zic.8 2006/10/02 19:32:10 2006.13 +++ zic.8 2007/01/12 23:32:22 2006.13.0.1 @@ -411,6 +411,63 @@ .q Rolling if the leap second time given by the other fields should be interpreted as local wall clock time. +.SH "EXTENDED EXAMPLE" +Here is an extended example of +.I zic +input, intended to illustrate many of its features. +.br +.ne 22 +.nf +.in +2m +.ta \w'# Rule\0\0'u +\w'NAME\0\0'u +\w'FROM\0\0'u +\w'1973\0\0'u +\w'TYPE\0\0'u +\w'Apr\0\0'u +\w'lastSun\0\0'u +\w'2:00\0\0'u +\w'SAVE\0\0'u +.sp +# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +Rule Swiss 1940 only - Nov 2 0:00 1:00 S +Rule Swiss 1940 only - Dec 31 0:00 0 - +Rule Swiss 1941 1942 - May Sun>=1 2:00 1:00 S +Rule Swiss 1941 1942 - Oct Sun>=1 0:00 0 +.sp .5 +Rule EU 1977 1980 - Apr Sun>=1 1:00u 1:00 S +Rule EU 1977 only - Sep lastSun 1:00u 0 - +Rule EU 1978 only - Oct 1 1:00u 0 - +Rule EU 1979 1995 - Sep lastSun 1:00u 0 - +Rule EU 1981 max - Mar lastSun 1:00u 1:00 S +Rule EU 1996 max - Oct lastSun 1:00u 0 - +.sp +.ta \w'# Zone\0\0'u +\w'Europe/Zurich\0\0'u +\w'0:34:08\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u +# Zone NAME GMTOFF RULES FORMAT UNTIL +Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12 + 0:29:44 - BMT 1894 Jun + 1:00 Swiss CE%sT 1981 + 1:00 EU CE%sT +.sp +Link Europe/Zurich Switzerland +.sp +.in +.fi +In this example, the zone is named Europe/Zurich but it has an alias +as Switzerland. Zurich was 34 minutes and 8 seconds west of GMT until +1848-09-12 at 00:00, when the offset changed to 29 minutes and 44 +seconds. After 1894-06-01 at 00:00 Swiss daylight saving rules (defined +with lines beginning with "Rule Swiss") apply, and the GMT offset +became one hour. From 1981 to the present, EU daylight saving rules have +applied, and the UTC offset has remained at one hour. +.PP +In 1940, daylight saving time applied from November 2 at 00:00 to +December 31 at 00:00. In 1941 and 1942, daylight saving time applied +from the first Sunday in May at 02:00 to the first Sunday in October +at 00:00. +The pre-1981 EU daylight-saving rules have no effect +here, but are included for completeness. Since 1981, daylight +saving has begun on the last Sunday in March at 01:00 UTC. +Until 1995 it ended the last Sunday in September at 01:00 UTC, +but this changed to the last Sunday in October starting in 1996. +.PP +For purposes of +display, "LMT" and "BMT" were initially used, respectively. Since +Swiss rules and later EU rules were applied, the display name for the +timezone has been CET for standard time and CEST for daylight saving +time. .SH NOTES For areas with more than two types of local time, you may need to use local standard time in the =================================================================== RCS file: RCS/europe,v retrieving revision 2007.1 retrieving revision 2007.1.0.1 diff -u -r2007.1 -r2007.1.0.1 --- europe 2007/01/08 17:17:29 2007.1 +++ europe 2007/01/14 06:13:53 2007.1.0.1 @@ -2278,6 +2278,24 @@ 1:00 EU CE%sT # Turkey + +# From Amar Devegowda (2007-01-03): +# The time zone rules for Istanbul, Turkey have not been changed for years now. +# ... The latest rules are available at - +# http://www.timeanddate.com/worldclock/timezone.html?n=107 +# From Steffen Thorsen (2007-01-03): +# I have been able to find press records back to 1996 which all say that +# DST started 01:00 local time and end at 02:00 local time. I am not sure +# what happened before that. One example for each year from 1996 to 2001: +# http://newspot.byegm.gov.tr/arsiv/1996/21/N4.htm +# http://www.byegm.gov.tr/YAYINLARIMIZ/CHR/ING97/03/97X03X25.TXT +# http://www.byegm.gov.tr/YAYINLARIMIZ/CHR/ING98/03/98X03X02.HTM +# http://www.byegm.gov.tr/YAYINLARIMIZ/CHR/ING99/10/99X10X26.HTM#%2016 +# http://www.byegm.gov.tr/YAYINLARIMIZ/CHR/ING2000/03/00X03X06.HTM#%2021 +# http://www.byegm.gov.tr/YAYINLARIMIZ/CHR/ING2001/03/23x03x01.HTM#%2027 +# From Paul Eggert (2007-01-03): +# Prefer the above source to Shanks & Pottenger for time stamps after 1990. + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Turkey 1916 only - May 1 0:00 1:00 S Rule Turkey 1916 only - Oct 1 0:00 0 - @@ -2332,14 +2350,17 @@ Rule Turkey 1983 only - Oct 2 0:00 0 - Rule Turkey 1985 only - Apr 20 0:00 1:00 S Rule Turkey 1985 only - Sep 28 0:00 0 - +Rule Turkey 1986 1990 - Mar lastSun 2:00s 1:00 S +Rule Turkey 1986 1990 - Sep lastSun 2:00s 0 - +Rule Turkey 1991 max - Mar lastSun 1:00s 1:00 S +Rule Turkey 1991 1995 - Sep lastSun 1:00s 0 - +Rule Turkey 1996 max - Oct lastSun 1:00s 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Istanbul 1:55:52 - LMT 1880 1:56:56 - IMT 1910 Oct # Istanbul Mean Time? 2:00 Turkey EE%sT 1978 Oct 15 3:00 Turkey TR%sT 1985 Apr 20 # Turkey Time - 2:00 Turkey EE%sT 1986 - 2:00 C-Eur EE%sT 1991 - 2:00 EU EE%sT + 2:00 Turkey EE%sT Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents. # Ukraine =================================================================== RCS file: RCS/northamerica,v retrieving revision 2007.1 retrieving revision 2007.1.0.1 diff -u -r2007.1 -r2007.1.0.1 --- northamerica 2007/01/08 17:17:29 2007.1 +++ northamerica 2007/02/12 06:52:32 2007.1.0.1 @@ -583,6 +583,11 @@ # clocks twice that night, but this obviously is in error. The intent # is that 01:59:59 EST be followed by 02:00:00 CDT. +# From Gwillim Law (2007-02-10): +# The Associated Press has been reporting that Pulaski County, Indiana is +# going to switch from Central to Eastern Time on March 11, 2007.... +# http://www.indystar.com/apps/pbcs.dll/article?AID=/20070207/LOCAL190108/7020... + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER Rule Indianapolis 1941 only - Jun 22 2:00 1:00 D Rule Indianapolis 1941 1954 - Sep lastSun 2:00 0 S @@ -618,7 +623,7 @@ -5:00 - EST 2006 -5:00 US E%sT # -# Daviess, Dubois, Knox, Martin, Perry, and Pulaski Counties, Indiana, +# Daviess, Dubois, Knox, Martin, and Perry Counties, Indiana, # switched from eastern to central time in April 2006. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER Rule Vincennes 1946 only - Apr lastSun 2:00 1:00 D @@ -676,6 +681,23 @@ -5:00 - EST 2006 Apr 2 2:00 -6:00 US C%sT # +# Pulaski County, Indiana, switched from eastern to central time in +# April 2006 and then switched back in March 2007. +# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER +Rule Pulaski 1946 1960 - Apr lastSun 2:00 1:00 D +Rule Pulaski 1946 1954 - Sep lastSun 2:00 0 S +Rule Pulaski 1955 1956 - Oct lastSun 2:00 0 S +Rule Pulaski 1957 1960 - Sep lastSun 2:00 0 S +# Zone NAME GMTOFF RULES FORMAT [UNTIL] +Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 12:13:35 + -6:00 US C%sT 1946 + -6:00 Pulaski C%sT 1961 Apr 30 2:00 + -5:00 - EST 1969 + -5:00 US E%sT 1971 + -5:00 - EST 2006 Apr 2 2:00 + -6:00 US C%sT 2007 Mar 11 2:00 + -5:00 US E%sT +# # Switzerland County, Indiana, did not observe DST from 1973 through 2005. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone America/Indiana/Vevay -5:40:16 - LMT 1883 Nov 18 12:19:44 @@ -894,18 +916,16 @@ # Unless otherwise specified, the data for Canada are all from Shanks # & Pottenger. -# From Chris Walton (2006-04-01): +# From Chris Walton (2006-04-01, 2006-04-25, 2006-06-26, 2007-01-31): # The British Columbia government announced yesterday that it will # adjust daylight savings next year to align with changes in the # U.S. and the rest of Canada.... # http://www2.news.gov.bc.ca/news_releases_2005-2009/2006AG0014-000330.htm - -# From Chris Walton (2006-04-25): +# ... +# Nova Scotia # Daylight saving time will be extended by four weeks starting in 2007.... -# Here is a news release which was issued today by the Nova Scotia government: -# http://www.gov.ns.ca/news/details.asp?id=20060425004 - -# From Chris Walton (2006-06-26): +# http://www.gov.ns.ca/just/regulations/rg2/2006/ma1206.pdf +# # [For New Brunswick] the new legislation dictates that the time change is to # be done at 02:00 instead of 00:01. # http://www.gnb.ca/0062/acts/BBA-2006/Chap-19.pdf @@ -915,16 +935,18 @@ # http://web2.gov.mb.ca/laws/statutes/ccsm/o030e.php # ... # [Alberta, Ontario, Quebec] will follow US rules. -# http://www.qp.gov.ab.ca/documents/Acts/2006CH03_UNPR.cfm?frm_isbn=0779744934 +# http://www.qp.gov.ab.ca/documents/spring/CH03_06.CFM # http://www.e-laws.gov.on.ca/DBLaws/Source/Regs/English/2006/R06111_e.htm -# http://www.assnat.qc.ca/eng/37legislature2/Projets-loi/Publics/06-a002.htm +# http://www2.publicationsduquebec.gouv.qc.ca/dynamicSearch/telecharge.php?typ... # ... -# P.E.I. will follow US rules. The new legislation is not law yet. -# It passed first reading on April 20.... -# http://www.assembly.pe.ca/bills/pdf_first/62/3/bill-101.pdf +# P.E.I. will follow US rules.... +# http://www.assembly.pe.ca/bills/pdf_chapter/62/3/chapter-41.pdf # ... -# Province of Newfoundland and Labrador.... The change is being considered. -# http://www.releases.gov.nl.ca/releases/2006/mpa/0331n01.htm +# Province of Newfoundland and Labrador.... +# http://www.hoa.gov.nl.ca/hoa/bills/Bill0634.htm +# ... +# Yukon +# http://www.gov.yk.ca/legislation/regs/oic2006_127.pdf # ... # N.W.T. will follow US rules. Whoever maintains the government web site # does not seem to believe in bookmarks. To see the news release, click the @@ -932,7 +954,14 @@ # "Daylight Savings Time Change" link; it will fire off a popup using # JavaScript. # http://www.exec.gov.nt.ca/currentnews/currentPR.asp?mode=archive - +# ... +# No formal announcement has been made from the Nunavut Government. +# The premier of Nunavut claimed in August of 2005 that he did not +# want to touch the issue; nothing more has been heard since. It is +# likely Nunavut will eventually follow the rest of the country but +# there will certainly be confusion on March 11/2007 if no formal +# announcement is made. Currently the TZ database and Microsoft make +# assumptions that Nunavut will follow the rest of the country. # From Paul Eggert (2006-04-25): @@ -1100,11 +1129,11 @@ # New Brunswick -# From Paul Eggert (2006-01-20): -# New Brunswick's Time Definition Act -# <http://www.gnb.ca/0062/PDF-acts/t-06.pdf> says they change at 00:01, and +# From Paul Eggert (2007-01-31): +# The Time Definition Act <http://www.gnb.ca/0062/PDF-acts/t-06.pdf> +# says they changed at 00:01 through 2006, and # <http://www.canlii.org/nb/laws/sta/t-6/20030127/whole.html> makes it -# clear that this has been the case since at least 1993. +# clear that this was the case since at least 1993. # For now, assume it started in 1993. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -1676,10 +1705,6 @@ # For lack of better information, assume that Southampton Island observed # daylight saving only during wartime. -# From Chris Walton (2006-07-19): -# The government of Yukon Territory ... recently announced it will extend -# daylight saving in 2007.... http://www.gov.yk.ca/news/2006/06-164.html - # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule NT_YK 1918 only - Apr 14 2:00 1:00 D Rule NT_YK 1918 only - Oct 27 2:00 0 S =================================================================== RCS file: RCS/southamerica,v retrieving revision 2007.1 retrieving revision 2007.1.0.1 diff -u -r2007.1 -r2007.1.0.1 --- southamerica 2007/01/08 17:26:20 2007.1 +++ southamerica 2007/01/14 06:16:11 2007.1.0.1 @@ -765,7 +765,7 @@ -5:00 Chile CL%sT 1947 May 22 # Chile Time -4:00 Chile CL%sT Zone Pacific/Easter -7:17:44 - LMT 1890 - -7:17:44 - EMT 1932 Sep # Easter Mean Time + -7:17:28 - EMT 1932 Sep # Easter Mean Time -7:00 Chile EAS%sT 1982 Mar 13 21:00 # Easter I Time -6:00 Chile EAS%sT # =================================================================== RCS file: RCS/zone.tab,v retrieving revision 2007.1 retrieving revision 2007.1.0.1 diff -u -r2007.1 -r2007.1.0.1 --- zone.tab 2007/01/08 17:28:11 2007.1 +++ zone.tab 2007/02/12 06:51:56 2007.1.0.1 @@ -379,11 +379,12 @@ US +381515-0854534 America/Kentucky/Louisville Eastern Time - Kentucky - Louisville area US +364947-0845057 America/Kentucky/Monticello Eastern Time - Kentucky - Wayne County US +394606-0860929 America/Indiana/Indianapolis Eastern Time - Indiana - most locations -US +382232-0862041 America/Indiana/Marengo Eastern Time - Indiana - Crawford County US +411745-0863730 America/Indiana/Knox Eastern Time - Indiana - Starke County +US +410305-0863611 America/Indiana/Winamac Eastern Time - Indiana - Pulaski County +US +382232-0862041 America/Indiana/Marengo Eastern Time - Indiana - Crawford County US +384452-0850402 America/Indiana/Vevay Eastern Time - Indiana - Switzerland County US +415100-0873900 America/Chicago Central Time -US +384038-0873143 America/Indiana/Vincennes Central Time - Indiana - Daviess, Dubois, Knox, Martin, Perry & Pulaski Counties +US +384038-0873143 America/Indiana/Vincennes Central Time - Indiana - Daviess, Dubois, Knox, Martin & Perry Counties US +382931-0871643 America/Indiana/Petersburg Central Time - Indiana - Pike County US +450628-0873651 America/Menominee Central Time - Michigan - Dickinson, Gogebic, Iron & Menominee Counties US +470659-1011757 America/North_Dakota/Center Central Time - North Dakota - Oliver County =================================================================== RCS file: RCS/tz-link.htm,v retrieving revision 2007.1 retrieving revision 2007.1.0.1 diff -u -r2007.1 -r2007.1.0.1 --- tz-link.htm 2007/01/08 17:17:29 2007.1 +++ tz-link.htm 2007/02/22 17:31:50 2007.1.0.1 @@ -8,7 +8,7 @@ <meta http-equiv="Content-type" content='text/html; charset="US-ASCII"'> <meta name="DC.Creator" content="Eggert, Paul"> <meta name="DC.Contributor" content="Olson, Arthur David"> -<meta name="DC.Date" content="2007-01-02"> +<meta name="DC.Date" content="2007-02-22"> <meta name="DC.Description" content="Sources of information about time zones and daylight saving time"> <meta name="DC.Identifier" content="http://www.twinsun.com/tz/tz-link.htm"> @@ -152,6 +152,9 @@ href="http://www.calconnect.org/publications/icalendartimezoneproblemsandrecommendationsv1.0.pdf">iCalendar TIMEZONE Problems and Recommendations</a> offers guidelines and recommendations for the use of VTIMEZONE and <code>tz</code>.</li> +<li><a href="http://www.calconnect.org/dstlinks.html">Extended Daylight +Saving Time Links, Advisories and Changes</a> lists vendor material on recent +daylight saving time changes.</li> <li><a href="http://www.calconnect.org/publications/timezoneregistryandservicerecommendationsv1.0.pdf">Timezone Registry and Service Recommendations</a> discusses a @@ -216,6 +219,13 @@ <a href="http://www.ruby-lang.org/">Ruby</a>. It is freely available under the <abbr title="Massachusetts Institute of Technology">MIT</abbr> license.</li> +<li>The <a href="http://www.chronos-st.org/">Chronos Date/Time +Library</a> is a <a href="http://smalltalk.org/">Smalltalk</a> class +library that compiles <code>tz</code> source into a <a +href="http://date-time-zone.com/">time zone repository</a> whose format +is either proprietary or an <a href="http://www.w3.org/XML/"><abbr +title="Extensible Markup Language">XML</abbr></a>-encoded +representation.</li> <li>Starting with version 8.5, <a href="http://www.tcl.tk/">Tcl</a> contains a developer-oriented parser that compiles <samp>tz</samp> source into text files, along with a runtime that can read those @@ -543,11 +553,9 @@ 8601:2004 -- Data elements and interchange formats -- Information interchange -- Representation of dates and times</a>.</li> <li> -<a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><abbr -title="Extensible Markup Language">XML</abbr> +<a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><abbr>XML</abbr> Schema: Datatypes - dateTime</a> specifies a format inspired by -<abbr>ISO</abbr> 8601 that is in common use in <a -href="http://www.w3.org/XML/"><abbr>XML</abbr></a> data.</li> +<abbr>ISO</abbr> 8601 that is in common use in XML data.</li> <li> <a href="ftp://ftp.rfc-editor.org/in-notes/rfc2822.txt">Internet <abbr title="Request For Comments">RFC</abbr> 2822</a> §3.3 =================================================================== RCS file: RCS/zic.c,v retrieving revision 2007.2 retrieving revision 2007.2.0.1 diff -u -r2007.2 -r2007.2.0.1 --- zic.c 2007/02/12 14:33:57 2007.2 +++ zic.c 2007/02/20 23:31:30 2007.2.0.1 @@ -2644,7 +2644,7 @@ static int mkdirs(argname) -char * const argname; +char * argname; { register char * name; register char * cp;