Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!ukma!husc6!spdcc!gnosys!gst From: gst@gnosys.UUCP (Gary S. Trujillo) Newsgroups: unix-pc.general Subject: Re: Daylight savings time problem Message-ID: <139@gnosys.UUCP> Date: 3 Apr 89 16:09:21 GMT References: <9139@alice.UUCP> Reply-To: gst@gnosys.UUCP (Gary S. Trujillo) Organization: gst's 3B1 - Somerville, Massachusetts Lines: 28 In article <9139@alice.UUCP> wilber@alice.UUCP (Bob Wilber) writes: > I too have applied the binary patcher that Lenny posted to all relevant > programs, and my TZ variable is set to EST5EDT, yet the dates displayed > are still not adjusted for daylight savings time. I'd like to know if > there's a way to make it work. > > Bob Wilber wilber@research.att.com Well, first you have to reboot. Then (I discovered through observation) you have to manually advance the time by an hour. Part of me said that such should be unnecessary, since the time is maintained internally in a timezone-independent form. However, I found that "ls" was reporting correctly timezone-adjusted timestamps for files recently created, so I reasoned that my intuition was incorrect, and that it was OK to just go ahead and reset the hands of the clock, so to speak. All seems well. Oh, one more thing. Just to prove to myself (through non-rigorous empirical means) that everything was OK, I performed the small experiment of resetting the clock to 0401015989 (one minute before 0200 on 1 April) and then executed the "date" command a few times as the 0159 -> 0300 transition was taking place. I found that the hour between 0200 and 0300 was skipped, as it should have been, and that the EST -> DST tag was changed appropriately. Perhaps Lenny or someone can give us more formal assurances (or explain how I'm all wet! :-). -- Gary S. Trujillo {linus,bbn,m2c}!spdcc!gnosys!gst Somerville, Massachusetts {icus,ima,stech,wjh12}!gnosys!gst