Re: ASClock shows wrong time

Benjamin J. Tracy (
Wed, 7 Oct 1998 13:03:44 -0400 (EDT)


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.

setenv TZ PST8PDT
asclock &

That should do it.


On Wed, 7 Oct 1998, Ron Thompson wrote:

> Okay, this is odd, and I've lived with it for a while, but for some reason
> the asclock shows the time 7 hours ahead.  Date and clock show the correct
> times, so why is it the only one that's wrong?
> The only thing I can think of is that it might be showing GMT, as I am 8
> hours behind, and then I think we're also in daylight savings time, which
> would make it 7.  But... why?
> Thanks!
>   -Ron
> --
>     |     E-mail:     |
>     |          ICQ: 4213537  (Wax66)         |
>     |       |
> --
>    WWW:
>    FTP:
>    MAIL: