proposed time zone package changes

Arthur David Olson olsona at lecserver.nci.nih.gov
Wed Mar 5 18:01:31 UTC 2008


(Mail sent to tz at elsie.nci.nih.gov is being dropped at the moment; please
send mail to olsona at mail.nih.gov and I'll forward it to the list.)

With Chile's drought-induced extension of DST coming up this Sunday, I'd like
to get a new distribution out the door to cover that seemingly well-documented
change. Other proposed changes below have already been circulated on the time
zone mailing list or only affect commentary. Files involved:
	README		(spell "cover" correctly"
	localtime.c	improve extension of rules into the far future
			(and far past)
	leapseconds	document no leap second at the end of December 2007
	southamerica	DST extension in Chile (2007 only)
If no problems are found, I'll try to make tzcode2008a.tar.gz and
tzdata2008a.tar.gz available this coming Sunday morning (2008-03-09).
(There may well be 2008b files shortly thereafter, especially to handle
changes in Cuba at the end of March, and also to reflect recent changes in
Venezuela and Argentina).

				--ado

------- README -------
*** /tmp/geta9293	Wed Mar  5 12:47:54 2008
--- /tmp/getb9293	Wed Mar  5 12:47:54 2008
***************
*** 1,4 ****
! @(#)README	8.1
  
  "What time is it?" -- Richard Deacon as The King
  "Any time you want it to be." -- Frank Baxter as The Scientist
--- 1,4 ----
! @(#)README	8.2
  
  "What time is it?" -- Richard Deacon as The King
  "Any time you want it to be." -- Frank Baxter as The Scientist
***************
*** 65,71 ****
  	system.
  
  The information in the time zone data files is by no means authoritative;
! the files currently do not even attempt to covar all time stamps before
  1970, and there are undoubtedly errors even for time stamps since 1970.
  If you know that the rules are different from those in a file, by all means
  feel free to change file (and please send the changed version to
--- 65,71 ----
  	system.
  
  The information in the time zone data files is by no means authoritative;
! the files currently do not even attempt to cover all time stamps before
  1970, and there are undoubtedly errors even for time stamps since 1970.
  If you know that the rules are different from those in a file, by all means
  feel free to change file (and please send the changed version to

------- localtime.c -------
*** /tmp/geta9312	Wed Mar  5 12:48:13 2008
--- /tmp/getb9312	Wed Mar  5 12:48:13 2008
***************
*** 5,11 ****
  
  #ifndef lint
  #ifndef NOID
! static char	elsieid[] = "@(#)localtime.c	8.8";
  #endif /* !defined NOID */
  #endif /* !defined lint */
  
--- 5,11 ----
  
  #ifndef lint
  #ifndef NOID
! static char	elsieid[] = "@(#)localtime.c	8.9";
  #endif /* !defined NOID */
  #endif /* !defined lint */
  
***************
*** 555,570 ****
  					sp->ttis[sp->typecnt++] = ts.ttis[1];
  			}
  	}
! 	i = 2 * YEARSPERREPEAT;
! 	sp->goback = sp->goahead = sp->timecnt > i;
! 	sp->goback = sp->goback &&
! 		typesequiv(sp, sp->types[i], sp->types[0]) &&
! 		differ_by_repeat(sp->ats[i], sp->ats[0]);
! 	sp->goahead = sp->goahead &&
! 		typesequiv(sp, sp->types[sp->timecnt - 1],
! 		sp->types[sp->timecnt - 1 - i]) &&
! 		differ_by_repeat(sp->ats[sp->timecnt - 1],
! 			 sp->ats[sp->timecnt - 1 - i]);
  	return 0;
  }
  
--- 555,577 ----
  					sp->ttis[sp->typecnt++] = ts.ttis[1];
  			}
  	}
! 	sp->goback = sp->goahead = FALSE;
! 	if (sp->timecnt > 1) {
! 		for (i = 1; i < sp->timecnt; ++i)
! 			if (typesequiv(sp, sp->types[i], sp->types[0]) &&
! 				differ_by_repeat(sp->ats[i], sp->ats[0])) {
! 					sp->goback = TRUE;
! 					break;
! 				}
! 		for (i = sp->timecnt - 2; i >= 0; --i)
! 			if (typesequiv(sp, sp->types[sp->timecnt - 1],
! 				sp->types[i]) &&
! 				differ_by_repeat(sp->ats[sp->timecnt - 1],
! 				sp->ats[i])) {
! 					sp->goahead = TRUE;
! 					break;
! 		}
! 	}
  	return 0;
  }
  

------- leapseconds -------
*** /tmp/geta9331	Wed Mar  5 12:48:25 2008
--- /tmp/getb9331	Wed Mar  5 12:48:25 2008
***************
*** 1,4 ****
! # @(#)leapseconds	8.4
  
  # Allowance for leapseconds added to each timezone file.
  
--- 1,4 ----
! # @(#)leapseconds	8.5
  
  # Allowance for leapseconds added to each timezone file.
  
***************
*** 46,71 ****
  Leap	2005	Dec	31	23:59:60	+	S
  
  # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
  # SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
  #
  # SERVICE DE LA ROTATION TERRESTRE
! # OBSERVATOIRE DE PARIS
  # 61, Av. de l'Observatoire 75014 PARIS (France)
  # Tel.      : 33 (0) 1 40 51 22 26
  # FAX       : 33 (0) 1 40 51 22 91
  # Internet  : services.iers at obspm.fr
  #
! # Paris, 28 June 2007
  #
! # Bulletin C 34
  #
! # To authorities responsible
  # for the measurement and
! # distribution of time
  #
  # INFORMATION ON UTC - TAI
  #
! # NO positive leap second will be introduced at the end of December 2007.
  # The difference between Coordinated Universal Time UTC and the
  # International Atomic Time TAI is :		
  #
--- 46,72 ----
  Leap	2005	Dec	31	23:59:60	+	S
  
  # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
+ #
  # SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
  #
  # SERVICE DE LA ROTATION TERRESTRE
! # OBSERVATOIRE DE PARIS				
  # 61, Av. de l'Observatoire 75014 PARIS (France)
  # Tel.      : 33 (0) 1 40 51 22 26
  # FAX       : 33 (0) 1 40 51 22 91
  # Internet  : services.iers at obspm.fr
  #
! # Paris, 18 January 2008
  #
! # Bulletin C 35
  #
! # To authorities responsible		
  # for the measurement and
! # distribution of time	
  #
  # INFORMATION ON UTC - TAI
  #
! # NO positive leap second will be introduced at the end of June 2008.
  # The difference between Coordinated Universal Time UTC and the
  # International Atomic Time TAI is :		
  #
***************
*** 77,82 ****
  # will be no time step at the next possible date.
  #
  # Daniel GAMBIS
! # Director			
! # Earth Orientation Center of IERS
  # Observatoire de Paris, France
--- 78,83 ----
  # will be no time step at the next possible date.
  #
  # Daniel GAMBIS
! # Head			
! # Earth Orientation Center of the IERS
  # Observatoire de Paris, France

------- southamerica -------
*** /tmp/geta9350	Wed Mar  5 12:48:36 2008
--- /tmp/getb9350	Wed Mar  5 12:48:36 2008
***************
*** 1,4 ****
! # @(#)southamerica	8.15
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
--- 1,4 ----
! # @(#)southamerica	8.16
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
***************
*** 759,764 ****
--- 759,803 ----
  # America/Santiago.  The pre-1980 Pacific/Easter data are dubious,
  # but we have no other source.
  
+ # From Paul Eggert (2008-02-08):
+ # The Associated Press reports that yesterday Chile announced it will
+ # extend DST this year due to a drought, until the last Saturday in
+ # March....Here's the URL I used for the AP
+ # report (though it may not work for you: AP Google URLs are unreliable
+ # in my experience):
+ # <a href="http://ap.google.com/article/ALeqM5gvriCVJJJ0RYvhGDq06v1nEykPDgD8ULKSI80">
+ # http://ap.google.com/article/ALeqM5gvriCVJJJ0RYvhGDq06v1nEykPDgD8ULKSI80
+ # </a>
+ # Without further info, I guess I would assume that DST will end in
+ # Chile and in Easter Island on March 30 at 03:00 UTC.
+ 
+ # From Gunther Vermeir (2008-02-11)
+ # I received this information from a colleague in the Oracle office in Chili:
+ # There is a announcement on 
+ # <a href=http://www.gobiernodechile.cl/noticias_det/?which=10062>
+ # http://www.gobiernodechile.cl/noticias_det/?which=10062
+ # </a>
+ # This article is published in the official page of the Government and 
+ # states that the Ministry of Energy announced the change in DST. Now, in 
+ # order for it to become completely official it has to be published in 
+ # 'Diario Official'. All decrees and resolutions become official when are 
+ # published here (www.diariooficial.cl).
+ 
+ # From Sean Coffey (2008-03-05)
+ # 
+ # This Chile DST extension/change would appear to be going 
+ # ahead.
+ # 
+ # <a href="http://www.timeanddate.com/news/time/chile-extends-daylight-saving-time.html">
+ # http://www.timeanddate.com/news/time/chile-extends-daylight-saving-time.html 
+ # </a>
+ # <a href="http://www.timeanddate.com/worldclock/city.html?n=232">
+ # http://www.timeanddate.com/worldclock/city.html?n=232
+ # </a>
+ # <a href="http://www.gobiernodechile.cl/noticias_det/?which=10062">
+ # http://www.gobiernodechile.cl/noticias_det/?which=10062
+ # </a>
+ 
  # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
  Rule	Chile	1927	1932	-	Sep	 1	0:00	1:00	S
  Rule	Chile	1928	1932	-	Apr	 1	0:00	0	-
***************
*** 789,795 ****
  Rule	Chile	1998	only	-	Sep	27	4:00u	1:00	S
  Rule	Chile	1999	only	-	Apr	 4	3:00u	0	-
  Rule	Chile	1999	max	-	Oct	Sun>=9	4:00u	1:00	S
! Rule	Chile	2000	max	-	Mar	Sun>=9	3:00u	0	-
  # IATA SSIM anomalies: (1992-02) says 1992-03-14;
  # (1996-09) says 1998-03-08.  Ignore these.
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
--- 828,836 ----
  Rule	Chile	1998	only	-	Sep	27	4:00u	1:00	S
  Rule	Chile	1999	only	-	Apr	 4	3:00u	0	-
  Rule	Chile	1999	max	-	Oct	Sun>=9	4:00u	1:00	S
! Rule	Chile	2000	2007	-	Mar	Sun>=9	3:00u	0	-
! Rule	Chile	2008	only	-	Mar	30	3:00u	0	-
! Rule	Chile	2009	max	-	Mar	Sun>=9	3:00u	0	-
  # IATA SSIM anomalies: (1992-02) says 1992-03-14;
  # (1996-09) says 1998-03-08.  Ignore these.
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]



More information about the tz mailing list