tz minor patch: US/Eastern -> America/New_York

Paul Eggert eggert at twinsun.com
Mon Oct 30 01:54:04 UTC 1995


Some tz comments refer to US/Eastern, but it is present only if the
`backward' file is used.  Here is a proposed patch.

===================================================================
RCS file: RCS/Theory,v
retrieving revision 1995.3
retrieving revision 1995.3.1.1
diff -c -r1995.3 -r1995.3.1.1
*** Theory	1993/11/22 20:23:18	1995.3
--- Theory	1995/10/30 01:50:47	1995.3.1.1
***************
*** 47,53 ****
  	abbreviations are used.
  
  	It was recognized that allowing the "TZ" environment variable to
! 	take on values such as "US/Eastern" might cause "old" programs
  	(that expect "TZ" to have a certain form) to operate incorrectly;
  	consideration was given to using some other environment variable
  	(for example, "TIMEZONE") to hold the string used to generate the
--- 47,53 ----
  	abbreviations are used.
  
  	It was recognized that allowing the "TZ" environment variable to
! 	take on values such as "America/New_York" might cause "old" programs
  	(that expect "TZ" to have a certain form) to operate incorrectly;
  	consideration was given to using some other environment variable
  	(for example, "TIMEZONE") to hold the string used to generate the
===================================================================
RCS file: RCS/date.c,v
retrieving revision 1995.3.1.1
retrieving revision 1995.3.1.2
diff -c -r1995.3.1.1 -r1995.3.1.2
*** date.c	1995/10/30 00:43:48	1995.3.1.1
--- date.c	1995/10/30 01:50:47	1995.3.1.2
***************
*** 207,215 ****
  			if ((cp = strchr(value, '.')) != NULL) {
  				/*
  				** Ensure that the failure of
! 				**	TZ=US/Eastern date 8712312359.60
  				** doesn't get misdiagnosed.  (It was
! 				**	TZ=US/Eastern date 8712311859.60
  				** when the leap second was inserted.)
  				** The normal check won't work since
  				** the given time is valid in GMT.
--- 207,215 ----
  			if ((cp = strchr(value, '.')) != NULL) {
  				/*
  				** Ensure that the failure of
! 				**	TZ=America/New_York date 8712312359.60
  				** doesn't get misdiagnosed.  (It was
! 				**	TZ=America/New_York date 8712311859.60
  				** when the leap second was inserted.)
  				** The normal check won't work since
  				** the given time is valid in GMT.
===================================================================
RCS file: RCS/zic.8,v
retrieving revision 1995.3
retrieving revision 1995.3.1.1
diff -c -r1995.3 -r1995.3.1.1
*** zic.8	1995/03/11 17:55:51	1995.3
--- zic.8	1995/10/30 01:50:47	1995.3.1.1
***************
*** 324,336 ****
  .nf
  .ti +.5i
  .if t .ta \w'Link\0\0'u +\w'LINK-FROM\0\0'u
! .if n .ta \w'Link\0\0'u +\w'US/Eastern\0\0'u
  Link	LINK-FROM	LINK-TO
  .sp
  For example:
  .sp
  .ti +.5i
! Link	US/Eastern	EST5EDT
  .sp
  .fi
  The
--- 324,336 ----
  .nf
  .ti +.5i
  .if t .ta \w'Link\0\0'u +\w'LINK-FROM\0\0'u
! .if n .ta \w'Link\0\0'u +\w'America/New_York\0\0'u
  Link	LINK-FROM	LINK-TO
  .sp
  For example:
  .sp
  .ti +.5i
! Link	America/New_York	US/Eastern
  .sp
  .fi
  The



More information about the tz mailing list