proposed time zone package changes (Cuba, Samoa, et al.)

Arthur David Olson olsona at lecserver.nci.nih.gov
Wed Mar 9 19:54:01 UTC 2011


Below are proposed changes to the time zone package; here's a summary:

* australasia	Change end of DST in Samoa in 2011.
		Thanks to Raymond Hughes for information on the change.
* etcetera	Remove obsolete material on angle brackets in
		TZ envirnoment variable.
* northamerica	Change start of DST in Cuba in 2011.
		Thanks to Steffen Thorsen for the first report of the change.
* zic.c		Add curly brackets to squelch a gcc warning message.

Since imminent time stamps in Cuba and Samoa are affected,
we'll do the short turnaround dance; expect these changes
on the ftp site on 2011-03-14 unless problems are found.

				--ado

diff -r -c old/australasia new/australasia
*** old/australasia	Wed Jan 12 11:03:44 2011
--- new/australasia	Wed Mar  9 14:38:29 2011
***************
*** 1,5 ****
  # <pre>
! # @(#)australasia	8.22
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
--- 1,5 ----
  # <pre>
! # @(#)australasia	8.23
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
***************
*** 509,519 ****
  # to 01:00am and First Sunday April 2011 (03/04/11) - adjust clocks
  # backwards from 1:00am to 12:00am"
  
  Zone Pacific/Apia	 12:33:04 -	LMT	1879 Jul  5
  			-11:26:56 -	LMT	1911
  			-11:30	-	SAMT	1950		# Samoa Time
  			-11:00	-	WST	2010 Sep 26
! 			-11:00	1:00	WSDT	2011 Apr 3 1:00
  			-11:00	-	WST
  
  # Solomon Is
--- 509,539 ----
  # to 01:00am and First Sunday April 2011 (03/04/11) - adjust clocks
  # backwards from 1:00am to 12:00am"
  
+ # From Raymond Hughes (2011-03-07)
+ # I believe this will be posted shortly on the website
+ # <a href="http://www.mcil.gov.ws">
+ # www.mcil.gov.ws
+ # </a>
+ #
+ # PUBLIC NOTICE ON DAYLIGHT SAVING TIME
+ #
+ # Pursuant to the Daylight Saving Act 2009 and Cabinets decision,
+ # businesses and the general public are hereby advised that daylight
+ # saving time is on the first Saturday of April 2011 (02/04/11).
+ #
+ # The public is therefore advised that when the standard time strikes
+ # the hour of four oclock (4.00am or 0400 Hours) on the 2nd April 2011,
+ # then all instruments used to measure standard time are to be
+ # adjusted/changed to three oclock (3:00am or 0300Hrs).
+ #
+ # Margaret Fruean ACTING CHIEF EXECUTIVE OFFICER MINISTRY OF COMMERCE,
+ # INDUSTRY AND LABOUR 28th February 2011
+ 
  Zone Pacific/Apia	 12:33:04 -	LMT	1879 Jul  5
  			-11:26:56 -	LMT	1911
  			-11:30	-	SAMT	1950		# Samoa Time
  			-11:00	-	WST	2010 Sep 26
! 			-11:00	1:00	WSDT	2011 Apr 2 4:00
  			-11:00	-	WST
  
  # Solomon Is
diff -r -c old/etcetera new/etcetera
*** old/etcetera	Thu Dec 16 12:24:20 2010
--- new/etcetera	Wed Mar  9 14:27:36 2011
***************
*** 1,5 ****
  # <pre>
! # @(#)etcetera	8.2
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
--- 1,5 ----
  # <pre>
! # @(#)etcetera	8.3
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
***************
*** 36,43 ****
  # (i.e. west of Greenwich) even though many people would expect it to
  # mean 4 hours ahead of UTC (i.e. east of Greenwich).
  #
! # In the draft 5 of POSIX 1003.1-200x, the angle bracket notation
! # (which is not yet supported by the tz code) allows for
  # TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to
  # ISO 8601 you can use TZ='<-0400>+4'.  Thus the commonly-expected
  # offset is kept within the angle bracket (and is used for display)
--- 36,42 ----
  # (i.e. west of Greenwich) even though many people would expect it to
  # mean 4 hours ahead of UTC (i.e. east of Greenwich).
  #
! # In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for
  # TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to
  # ISO 8601 you can use TZ='<-0400>+4'.  Thus the commonly-expected
  # offset is kept within the angle bracket (and is used for display)
diff -r -c old/northamerica new/northamerica
*** old/northamerica	Wed Feb  9 14:00:33 2011
--- new/northamerica	Wed Mar  9 14:45:23 2011
***************
*** 1,5 ****
  # <pre>
! # @(#)northamerica	8.41
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
--- 1,5 ----
  # <pre>
! # @(#)northamerica	8.42
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
***************
*** 2606,2611 ****
--- 2606,2626 ----
  # the time was announced as "diez cinco"--the same time as here, indicating
  # that has indeed switched to DST. Assume second Sunday from 2009 forward.
  
+ # From Steffen Thorsen (2011-03-08):
+ # Granma announced that Cuba is going to start DST on 2011-03-20 00:00:00
+ # this year. Nothing about the end date known so far (if that has
+ # changed at all).
+ #
+ # Source:
+ # <a href="http://granma.co.cu/2011/03/08/nacional/artic01.html">
+ # http://granma.co.cu/2011/03/08/nacional/artic01.html
+ # </a>
+ #
+ # Our info:
+ # <a href="http://www.timeanddate.com/news/time/cuba-starts-dst-2011.html">
+ # http://www.timeanddate.com/news/time/cuba-starts-dst-2011.html
+ # </a>
+ 
  # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
  Rule	Cuba	1928	only	-	Jun	10	0:00	1:00	D
  Rule	Cuba	1928	only	-	Oct	10	0:00	0	S
***************
*** 2639,2645 ****
  Rule	Cuba	2006	max	-	Oct	lastSun	0:00s	0	S
  Rule	Cuba	2007	only	-	Mar	Sun>=8	0:00s	1:00	D
  Rule	Cuba	2008	only	-	Mar	Sun>=15	0:00s	1:00	D
! Rule	Cuba	2009	max	-	Mar	Sun>=8	0:00s	1:00	D
  
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
  Zone	America/Havana	-5:29:28 -	LMT	1890
--- 2654,2662 ----
  Rule	Cuba	2006	max	-	Oct	lastSun	0:00s	0	S
  Rule	Cuba	2007	only	-	Mar	Sun>=8	0:00s	1:00	D
  Rule	Cuba	2008	only	-	Mar	Sun>=15	0:00s	1:00	D
! Rule	Cuba	2009	2010	-	Mar	Sun>=8	0:00s	1:00	D
! Rule	Cuba	2011	only	-	Mar	Sun>=15	0:00s	1:00	D
! Rule	Cuba	2012	max	-	Mar	Sun>=8	0:00s	1:00	D
  
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
  Zone	America/Havana	-5:29:28 -	LMT	1890
diff -r -c old/zic.c new/zic.c
*** old/zic.c	Thu Dec 16 12:24:13 2010
--- new/zic.c	Wed Mar  9 14:41:27 2011
***************
*** 3,9 ****
  ** 2006-07-17 by Arthur David Olson.
  */
  
! static char	elsieid[] = "@(#)zic.c	8.24";
  
  #include "private.h"
  #include "locale.h"
--- 3,9 ----
  ** 2006-07-17 by Arthur David Olson.
  */
  
! static char	elsieid[] = "@(#)zic.c	8.25";
  
  #include "private.h"
  #include "locale.h"
***************
*** 1639,1648 ****
  					mrudst = types[i];
  				else	mrustd = types[i];
  			for (i = 0; i < typecnt; ++i)
! 				if (writetype[i])
  					if (isdsts[i])
  						hidst = i;
  					else	histd = i;
  			if (hidst >= 0 && mrudst >= 0 && hidst != mrudst &&
  				gmtoffs[hidst] != gmtoffs[mrudst]) {
  					isdsts[mrudst] = -1;
--- 1639,1649 ----
  					mrudst = types[i];
  				else	mrustd = types[i];
  			for (i = 0; i < typecnt; ++i)
! 				if (writetype[i]) {
  					if (isdsts[i])
  						hidst = i;
  					else	histd = i;
+ 				}
  			if (hidst >= 0 && mrudst >= 0 && hidst != mrudst &&
  				gmtoffs[hidst] != gmtoffs[mrudst]) {
  					isdsts[mrudst] = -1;



More information about the tz mailing list