Mailing List Archive

Time zone and GnuPG
On Win32 GnuPG, how the time zone is handled?

It appears to be acting strange when I set timezone using TZ variable.
e.g. TZ=PDT-07

What I get is, assuming it is 17:24 PDT I get:

Signature made 09/01/00 07:24:39 PDT

Am I doing something wrong here?

--
Hideki Saito mailto:hideki@allcity.net
PGP Fingerprint(0x82957B66): DE6B 1301 CC7F B915 521B 3736 4716 2919 8295 7B66

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Time zone and GnuPG [ In reply to ]
On Thu, 31 Aug 2000, Hideki Saito wrote:

> It appears to be acting strange when I set timezone using TZ variable.
> e.g. TZ=PDT-07

Windows time handling appears starnge to me. I looked at Cygwin32 and
found out that there is really a lot of code to make times work right.

The problem seems to be that the Posix time functions do not
interoperate well with Windows internal time functions. Setting TZ is
probably not the right way to do it, becuase Windows has it's won way
of doing it. I think it will be better to drop the Posix functions
entirely and use the Windows functions.

I am still not sure which time: FileTime or SystemTime is based on UTC
and how to do the conversion right.

Any hints are welcome.

Werner


--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org