login
Header Space

 
 

Re: How to set timezone?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Wednesday, August 26, 1992 - 6:48 pm

David Black writes

Its even easier than that.  When you install the timesrc stuff, you get a  
bunch of timezone files in /usr/lib/zoneinfo (or maybe you have to move  
them there by hand, I forget).  Then all you have to do is make a link  
from the zone you're in to localtime, such as
        cd /usr/lib/zoneinfo
        ln -s Canada/Eastern localtime
and everything is hunky-dory.

This way, you don't need to set the TZ environment variable at all.

You may have to rip out the code that sets the TZ variable from login.c,  
where it doesn't belong in the first place.


Steve Robbins
steve@nyongwa.cam.org, despite what the header says
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: How to set timezone?, Muhep Guest account, (Wed Aug 26, 6:48 pm)
speck-geostationary