proposed time zone package changes

Arthur David Olson olsona at lecserver.nci.nih.gov
Sun Jul 20 19:53:32 UTC 2008


Proposed time zone packages appear below. These include:

*	changes to "Makefile" to allow withdrawal of logwtmp.c
*	data file URL fixes from Halasz Sandor Viktor 
*	a fix for a typo in the "europe" file from Jesper Norgaard Welen
	(only affects 1945 time stamps)
*	changes for Mauritius in the "africa" file based on messages from
	Steffen Thorsen and Alex Krivenyshev
*	changes to the "leapseconds" file to reflect the IERS announcement
	of a positive leap second at the end of 2008
*	changes (previously circulated) to the "tz-link.htm" file from
	Paul Eggert.

If there's no negative feedback, I'll make tzcode2008e.tar.gz and
tzdata2008e.tar.gz available on 2008-07-28.

				--ado

diff -r -c old/Makefile new/Makefile
*** old/Makefile	Wed Mar  5 11:58:23 2008
--- new/Makefile	Sun Jul 20 14:23:27 2008
***************
*** 1,4 ****
! # @(#)Makefile	8.6
  
  # Change the line below for your time zone (after finding the zone you want in
  # the time zone files, or adding it to a time zone file).
--- 1,4 ----
! # @(#)Makefile	8.7
  
  # Change the line below for your time zone (after finding the zone you want in
  # the time zone files, or adding it to a time zone file).
***************
*** 246,258 ****
  TZCOBJS=	zic.o localtime.o asctime.o scheck.o ialloc.o
  TZDSRCS=	zdump.c localtime.c ialloc.c
  TZDOBJS=	zdump.o localtime.o ialloc.o
! DATESRCS=	date.c localtime.c logwtmp.c strftime.c asctime.c
! DATEOBJS=	date.o localtime.o logwtmp.o strftime.o asctime.o
  LIBSRCS=	localtime.c asctime.c difftime.c
  LIBOBJS=	localtime.o asctime.o difftime.o
  HEADERS=	tzfile.h private.h
  NONLIBSRCS=	zic.c zdump.c scheck.c ialloc.c
! NEWUCBSRCS=	date.c logwtmp.c strftime.c
  SOURCES=	$(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) tzselect.ksh
  MANS=		newctime.3 newstrftime.3 newtzset.3 time2posix.3 \
  			tzfile.5 tzselect.8 zic.8 zdump.8
--- 246,258 ----
  TZCOBJS=	zic.o localtime.o asctime.o scheck.o ialloc.o
  TZDSRCS=	zdump.c localtime.c ialloc.c
  TZDOBJS=	zdump.o localtime.o ialloc.o
! DATESRCS=	date.c localtime.c strftime.c asctime.c
! DATEOBJS=	date.o localtime.o strftime.o asctime.o
  LIBSRCS=	localtime.c asctime.c difftime.c
  LIBOBJS=	localtime.o asctime.o difftime.o
  HEADERS=	tzfile.h private.h
  NONLIBSRCS=	zic.c zdump.c scheck.c ialloc.c
! NEWUCBSRCS=	date.c strftime.c
  SOURCES=	$(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) tzselect.ksh
  MANS=		newctime.3 newstrftime.3 newtzset.3 time2posix.3 \
  			tzfile.5 tzselect.8 zic.8 zdump.8
***************
*** 348,362 ****
  		if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
  			then ranlib $@ ; fi
  
- # We use the system's logwtmp in preference to ours if available.
- 
  date:		$(DATEOBJS)
- 		ar r ,lib.a logwtmp.o
- 		if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
- 			then ranlib ,lib.a ; fi
  		$(CC) $(CFLAGS) date.o localtime.o asctime.o strftime.o \
! 			$(LDLIBS) -lc ,lib.a -o $@
! 		rm -f ,lib.a
  
  tzselect:	tzselect.ksh
  		sed \
--- 348,356 ----
  		if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
  			then ranlib $@ ; fi
  
  date:		$(DATEOBJS)
  		$(CC) $(CFLAGS) date.o localtime.o asctime.o strftime.o \
! 			$(LDLIBS) -lc -o $@
  
  tzselect:	tzselect.ksh
  		sed \
diff -r -c old/africa new/africa
*** old/africa	Mon Jul  7 09:45:31 2008
--- new/africa	Sun Jul 20 15:30:59 2008
***************
*** 1,4 ****
! # @(#)africa	8.13
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
--- 1,4 ----
! # @(#)africa	8.15
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
***************
*** 394,416 ****
  # It seems that Mauritius observed daylight saving time from 1982-10-10 to 
  # 1983-03-20 as well, but that was not successful....
  # http://www.timeanddate.com/news/time/mauritius-daylight-saving-time.html
! #
  # From Alex Krivenyshev (2008-06-25):
  # http://economicdevelopment.gov.mu/portal/site/Mainhomepage/menuitem.a42b24128104d9845dabddd154508a0c/?content_id=0a7cee8b5d69a110VgnVCM1000000a04a8c0RCRD
! #
  # From Arthur David Olson (2008-06-30):
  # The www.timeanddate.com article cited by Steffen Thorsen notes that "A
  # final decision has yet to be made on the times that daylight saving
  # would begin and end on these dates." As a place holder, use midnight.
! #
  # From Paul Eggert (2008-06-30):
  # Follow Thorsen on DST in 1982/1983, instead of Shanks & Pottenger.
  
  # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
  Rule Mauritius	1982	only	-	Oct	10	0:00	1:00	S
  Rule Mauritius	1983	only	-	Mar	21	0:00	0	-
! Rule Mauritius	2008	only	-	Nov	 1	0:00	1:00	S
! Rule Mauritius	2009	only	-	Apr	 1	0:00	0	-
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
  Zone Indian/Mauritius	3:50:00 -	LMT	1907		# Port Louis
  			4:00 Mauritius	MU%sT	# Mauritius Time
--- 394,432 ----
  # It seems that Mauritius observed daylight saving time from 1982-10-10 to 
  # 1983-03-20 as well, but that was not successful....
  # http://www.timeanddate.com/news/time/mauritius-daylight-saving-time.html
! 
  # From Alex Krivenyshev (2008-06-25):
  # http://economicdevelopment.gov.mu/portal/site/Mainhomepage/menuitem.a42b24128104d9845dabddd154508a0c/?content_id=0a7cee8b5d69a110VgnVCM1000000a04a8c0RCRD
! 
  # From Arthur David Olson (2008-06-30):
  # The www.timeanddate.com article cited by Steffen Thorsen notes that "A
  # final decision has yet to be made on the times that daylight saving
  # would begin and end on these dates." As a place holder, use midnight.
! 
  # From Paul Eggert (2008-06-30):
  # Follow Thorsen on DST in 1982/1983, instead of Shanks & Pottenger.
  
+ # From Alex Krivenyshev (2008-07-11):
+ # Seems that English language article "The revival of daylight saving
+ # time:  Energy conservation?"-# No. 16578 (07/11/2008) was originally
+ # published on Monday, June 30, 2008...
+ #
+ # I guess that article in French "Le gouvernement avance l'introduction
+ # de l'heure d'ete" stating that DST in Mauritius starting on October 26
+ # and ending on March 27, 2009 is the most recent one.
+ # <a href="http://www.lexpress.mu/display_article.php?news_id=111216">
+ # http://www.lexpress.mu/display_article.php?news_id=111216
+ # </a>
+ # or
+ # <a href="http://www.worldtimezone.com/dst_news/dst_news_mauritius02.html">
+ # http://www.worldtimezone.com/dst_news/dst_news_mauritius02.html
+ # </a>
+ 
  # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
  Rule Mauritius	1982	only	-	Oct	10	0:00	1:00	S
  Rule Mauritius	1983	only	-	Mar	21	0:00	0	-
! Rule Mauritius	2008	only	-	Oct	26	0:00	1:00	S
! Rule Mauritius	2009	only	-	Mar	27	0:00	0	-
  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
  Zone Indian/Mauritius	3:50:00 -	LMT	1907		# Port Louis
  			4:00 Mauritius	MU%sT	# Mauritius Time
***************
*** 475,481 ****
  # published on the web.
  #
  # It's also confirmed here:
! # <a href="http://www.maroc.ma/NR/exeres/FACF141F-D910-44B0-B7FA-6E03733425D1.htm ">
  # http://www.maroc.ma/NR/exeres/FACF141F-D910-44B0-B7FA-6E03733425D1.htm
  # </a>
  # on a government portal as being  between june 1st and sept 27th (not yet
--- 491,497 ----
  # published on the web.
  #
  # It's also confirmed here:
! # <a href="http://www.maroc.ma/NR/exeres/FACF141F-D910-44B0-B7FA-6E03733425D1.htm">
  # http://www.maroc.ma/NR/exeres/FACF141F-D910-44B0-B7FA-6E03733425D1.htm
  # </a>
  # on a government portal as being  between june 1st and sept 27th (not yet
diff -r -c old/asia new/asia
*** old/asia	Mon Jul  7 09:45:31 2008
--- new/asia	Sun Jul 20 15:09:44 2008
***************
*** 1,4 ****
! # @(#)asia	8.21
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
--- 1,4 ----
! # @(#)asia	8.22
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
***************
*** 1416,1422 ****
  # From Steffen Thorsen (2008-03-31):
  # eznis airways, which operates several domestic flights, has a flight
  # schedule here:
! # <a href="http://www.eznis.com/Container.jsp?id=112"
  # http://www.eznis.com/Container.jsp?id=112
  # </a>
  # (click the English flag for English)
--- 1416,1422 ----
  # From Steffen Thorsen (2008-03-31):
  # eznis airways, which operates several domestic flights, has a flight
  # schedule here:
! # <a href="http://www.eznis.com/Container.jsp?id=112">
  # http://www.eznis.com/Container.jsp?id=112
  # </a>
  # (click the English flag for English)
diff -r -c old/europe new/europe
*** old/europe	Mon Jul  7 09:45:31 2008
--- new/europe	Sun Jul 20 15:20:42 2008
***************
*** 1,4 ****
! # @(#)europe	8.14
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
--- 1,4 ----
! # @(#)europe	8.16
  # <pre>
  
  # This data is by no means authoritative; if you think you know better,
***************
*** 483,489 ****
  Rule	C-Eur	1944	1945	-	Apr	Mon>=1	 2:00s	1:00	S
  # Whitman gives 1944 Oct 7; go with Shanks & Pottenger.
  Rule	C-Eur	1944	only	-	Oct	 2	 2:00s	0	-
! Rule	C-Eur	1945	only	-	Sep	16	 2:00	0	-
  Rule	C-Eur	1977	1980	-	Apr	Sun>=1	 2:00s	1:00	S
  Rule	C-Eur	1977	only	-	Sep	lastSun	 2:00s	0	-
  Rule	C-Eur	1978	only	-	Oct	 1	 2:00s	0	-
--- 483,527 ----
  Rule	C-Eur	1944	1945	-	Apr	Mon>=1	 2:00s	1:00	S
  # Whitman gives 1944 Oct 7; go with Shanks & Pottenger.
  Rule	C-Eur	1944	only	-	Oct	 2	 2:00s	0	-
! # From Jesper Norgaard Welen (2008-07-13):
! #
! # I found what is probably a typo of 2:00 which should perhaps be 2:00s
! # in the C-Eur rule from tz database version 2008d (this part was
! # corrected in version 2008d). The circumstancial evidence is simply the
! # tz database itself, as seen below:
! #
! # Zone Europe/Paris 0:09:21 - LMT 1891 Mar 15  0:01
! #    0:00 France WE%sT 1945 Sep 16  3:00
! #
! # Zone Europe/Monaco 0:29:32 - LMT 1891 Mar 15
! #    0:00 France WE%sT 1945 Sep 16 3:00
! #
! # Zone Europe/Belgrade 1:22:00 - LMT 1884
! #    1:00 1:00 CEST 1945 Sep 16  2:00s
! #
! # Rule France 1945 only - Sep 16  3:00 0 -
! # Rule Belgium 1945 only - Sep 16  2:00s 0 -
! # Rule Neth 1945 only - Sep 16 2:00s 0 -
! #
! # The rule line to be changed is:
! #
! # Rule C-Eur 1945 only - Sep 16  2:00 0 -
! #
! # It seems that Paris, Monaco, Rule France, Rule Belgium all agree on
! # 2:00 standard time, e.g. 3:00 local time.  However there are no
! # countries that use C-Eur rules in September 1945, so the only items
! # affected are apparently these ficticious zones that translates acronyms
! # CET and MET:
! #
! # Zone CET  1:00 C-Eur CE%sT
! # Zone MET  1:00 C-Eur ME%sT
! #
! # It this is right then the corrected version would look like:
! #
! # Rule C-Eur 1945 only - Sep 16  2:00s 0 -
! #
! # A small step for mankind though 8-)
! Rule	C-Eur	1945	only	-	Sep	16	 2:00s	0	-
  Rule	C-Eur	1977	1980	-	Apr	Sun>=1	 2:00s	1:00	S
  Rule	C-Eur	1977	only	-	Sep	lastSun	 2:00s	0	-
  Rule	C-Eur	1978	only	-	Oct	 1	 2:00s	0	-
***************
*** 1094,1101 ****
  # [See tz-link.htm for the URL.]
  
  # From Joerg Schilling (2002-10-23):
! # In 1945, Berlin was switched to Moscow Summer time (GMT+4) by <a
! # href="http://www.dhm.de/lemo/html/biografien/BersarinNikolai/">
  # General [Nikolai] Bersarin</a>.
  
  # From Paul Eggert (2003-03-08):
--- 1132,1139 ----
  # [See tz-link.htm for the URL.]
  
  # From Joerg Schilling (2002-10-23):
! # In 1945, Berlin was switched to Moscow Summer time (GMT+4) by
! # <a href="http://www.dhm.de/lemo/html/biografien/BersarinNikolai/">
  # General [Nikolai] Bersarin</a>.
  
  # From Paul Eggert (2003-03-08):
diff -r -c old/leapseconds new/leapseconds
*** old/leapseconds	Mon Mar 24 08:30:59 2008
--- new/leapseconds	Thu Jul 10 12:58:26 2008
***************
*** 1,4 ****
! # @(#)leapseconds	8.5
  
  # Allowance for leapseconds added to each timezone file.
  
--- 1,4 ----
! # @(#)leapseconds	8.6
  
  # Allowance for leapseconds added to each timezone file.
  
***************
*** 44,49 ****
--- 44,50 ----
  Leap	1997	Jun	30	23:59:60	+	S
  Leap	1998	Dec	31	23:59:60	+	S
  Leap	2005	Dec	31	23:59:60	+	S
+ Leap	2008	Dec	31	23:59:60	+	S
  
  # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
  #
***************
*** 50,83 ****
  # 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 :		
  #
! # from 2006 January 1, 0h UTC, until further notice : UTC-TAI = -33 s
  #
  # Leap seconds can be introduced in UTC at the end of the months of December
! # or June,  depending on the evolution of UT1-TAI. Bulletin C is mailed every
! # six months, either to announce a time step in UTC, or to confirm that there
  # will be no time step at the next possible date.
  #
  # Daniel GAMBIS
! # Head			
! # Earth Orientation Center of the IERS
  # Observatoire de Paris, France
--- 51,92 ----
  # 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
! # e-mail    : services.iers at obspm.fr
! # http://hpiers.obspm.fr/eop-pc
  #
! # Paris, 4 July 2008
  #
! # Bulletin C 36
  #
! # To authorities responsible
  # for the measurement and
! # distribution of time
  #
! # UTC TIME STEP
! # on the 1st of January 2009
  #
! # A positive leap second will be introduced at the end of December 2008.
! # The sequence of dates of the UTC second markers will be:		
  #
! # 2008 December 31,     23h 59m 59s
! # 2008 December 31,     23h 59m 60s
! # 2009 January   1,      0h  0m  0s
  #
+ # The difference between UTC and the International Atomic Time TAI is:
+ #
+ # from 2006 January 1, 0h UTC, to 2009 January 1  0h UTC  : UTC-TAI = - 33s
+ # from 2009 January 1, 0h UTC, until further notice       : UTC-TAI = - 34s
+ #
  # Leap seconds can be introduced in UTC at the end of the months of December
! # or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every
! # six months, either to announce a time step in UTC or to confirm that there
  # will be no time step at the next possible date.
  #
  # Daniel GAMBIS
! # Head		
! # Earth Orientation Center of IERS
  # Observatoire de Paris, France
Only in old: logwtmp.c
diff -r -c old/tz-link.htm new/tz-link.htm
*** old/tz-link.htm	Mon Dec 31 10:23:10 2007
--- new/tz-link.htm	Mon Jul  7 09:47:19 2008
***************
*** 18,24 ****
  <body>
  <h1>Sources for Time Zone and Daylight Saving Time Data</h1>
  <address>
! @(#)tz-link.htm	8.15
  </address>
  <p>
  Please send corrections to this web page to the
--- 18,24 ----
  <body>
  <h1>Sources for Time Zone and Daylight Saving Time Data</h1>
  <address>
! @(#)tz-link.htm	8.16
  </address>
  <p>
  Please send corrections to this web page to the
***************
*** 134,139 ****
--- 134,142 ----
  timezone information for all countries</a> displays tables of DST rules.
  <li><a href="http://timeanddate.com/worldclock/">The World Clock -
  Time Zones</a> lets you sort zone names and convert times.</li>
+ <li><a href="http://daylight-savings-time.info/">Graphical Display of
+ Time Zones and Daylight Saving Times</a> shows a graph of time
+ difference versus time for any pair of locations.</li>
  <li>The <a href="http://worldtimeengine.com/">World Time Engine</a>
  also contains data about time zone boundaries; it supports queries via place
  names and shows location maps.</li>
***************
*** 178,184 ****
  </ul>
  <h2>Other <code>tz</code> compilers</h2>
  <ul>
! <li><a href="http://dialspace.dial.pipex.com/prod/dialspace/town/pipexdsl/s/asbm26/vzic/">Vzic iCalendar
  Timezone Converter</a> describes a <a
  href="http://en.wikipedia.org/wiki/C_%28programming_language%29">C</a>
  program that compiles
--- 181,187 ----
  </ul>
  <h2>Other <code>tz</code> compilers</h2>
  <ul>
! <li><a href="http://www.dachaplin.dsl.pipex.com/vzic/">Vzic iCalendar
  Timezone Converter</a> describes a <a
  href="http://en.wikipedia.org/wiki/C_%28programming_language%29">C</a>
  program that compiles
***************
*** 353,359 ****
  </ul>
  <h2>Time zone boundaries</h2>
  <ul>
! <li><a href="http://efele.net/maps/">A map of the TZ timezones in
  the US</a> contains a <a
  href="http://en.wikipedia.org/wiki/Shapefile">shapefile</a> of the
  <code>tz</code> regions in the US.</li>
--- 356,362 ----
  </ul>
  <h2>Time zone boundaries</h2>
  <ul>
! <li><a href="http://efele.net/maps/tz/us/">A map of the TZ timezones in
  the US</a> contains a <a
  href="http://en.wikipedia.org/wiki/Shapefile">shapefile</a> of the
  <code>tz</code> regions in the US.</li>
***************
*** 477,483 ****
  legal time in Britain</a> discusses in detail the country
  with perhaps the best-documented history of clock adjustments.
  The National Physical Laboratory also maintains an <a
! href="http://www.npl.co.uk/time/measurement_time/summer_time_archive.html">Archive
  of Summer time dates</a>.</dd>
  </dl>
  <h2>Precision timekeeping</h2>
--- 480,486 ----
  legal time in Britain</a> discusses in detail the country
  with perhaps the best-documented history of clock adjustments.
  The National Physical Laboratory also maintains an <a
! href="http://www.npl.co.uk/server.php?show=ConWebDoc.2714">Archive
  of Summer time dates</a>.</dd>
  </dl>
  <h2>Precision timekeeping</h2>



More information about the tz mailing list