Re(2): ASClock shows wrong time
Ron Thompson Ron_Thompson@KVCR.pbs.org
Wed, 07 Oct 1998 20:23:40 -0400
afterstep@linuxcenter.com,Internet writes:
>
>Ron-
>
>The reason is that at the point when asclock is invoked, your TZ
>environment variable is set to GMT, which causes any system calls like the
>ones asclock uses to get the time to return GMT time instead of a more
>natural timezone like PST. I had the same problem before, and I used a
>script to fix it. Try running the following script instead of running
>asclock explicitly in your wharf config.
>
>---
>#!/bin/csh
>setenv TZ PST8PDT
>asclock &
That sounds really cool... and I'll try it when I get home, but I'm just
curious, what is TZ, and why doesn't it affect the times system-wide?
Thanks for the help!
-Ron
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html