FW: Timezones for US

Paul Eggert eggert at twinsun.com
Thu Jul 8 20:29:35 UTC 1999


   From:	Sullivan N. Beck [SMTP:sbeck at cise.ufl.edu]
   Sent:	Tuesday, July 06, 1999 3:48 PM

   On Solaris 2.6, I noticed that the output from zdump seemed a bit
   odd.  The first lines are:

   US/Eastern  Sat Dec 14 20:45:52 1901 GMT = Sat Dec 14 16:45:52 1901 EWT isdst=0
   US/Eastern  Sun Mar 31 06:59:59 1918 GMT = Sun Mar 31 02:59:59 1918 EWT isdst=0

That is a bug in the Solaris C library.

If you try running the canonical elsie zdump on the Solaris zoneinfo
files, you should get the correct output.  This is because the elsie
zdump uses its own implementation of localtime etc.  The elsie zdump
output should look something like the following (which I generated
using the Solaris 7 zoneinfo files):

US/Eastern  Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 15:45:52 1901 EST isdst=0
US/Eastern  Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 15:45:52 1901 EST isdst=0
US/Eastern  Sun Mar 31 06:59:59 1918 UTC = Sun Mar 31 01:59:59 1918 EST isdst=0
US/Eastern  Sun Mar 31 07:00:00 1918 UTC = Sun Mar 31 03:00:00 1918 EWT isdst=1


   from Nov 18, 1883 to Jan 1, 1920, America/New_York is using the
   rules named "US".  The problem is, there are no "US" rule prior to
   1918.

This should be OK; by default, standard time is in effect.  Admittedly
this behavior is undocumented, but it's been that way for quite some time.



More information about the tz mailing list