help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] TZ in Win2k


From: Jason Rumney
Subject: Re: [h-e-w] TZ in Win2k
Date: 21 Jan 2003 20:08:41 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Bin Zhang <address@hidden> writes:

> I installed Windows port of GNU rcs as instructed in the NTEmacs
> website.  RCS wouldn't run without setting TZ environmental
> variable. What should I set TZ as (I'm in Hawaii, GMT-10:00)?  I tried
> GMT-10:00, HST, -10:00.

You TZ variable should be a combination of the first two, except that
timezones are backwards (my theory is that TZ was invented in the
US, and the US did not want to be negative). Also, specifying the
minutes is optional, and I think it is implementation dependant
whether a colon is used (at least on Windows where most
implementations do not follow the POSIX spec for TZ)

so TZ=HST10 should give you the correct times now.

You can also add the daylight time name to the end of that (if Hawaii
has daylight time) to get automatic daylight savings. Since you are in
the US this probably works properly. I know it doesn't work in a lot
of software in the southern hemisphere due to incorrect assumptions in
Microsoft's (and other vendors') C runtime library, and is often a
week out with the changeover date in Europe for the same reason.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]