public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: B20.1: Still problems with mktime()
       [not found] <3.0.5.32.19990127142805.033256d0.cygnus.gnu-win32@localhost>
@ 1999-01-31 23:52 ` DJ Delorie
  0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 1999-01-31 23:52 UTC (permalink / raw)
  To: gnu-win32

Henrik Frystyk Nielsen wrote:
> 
> It seems to forget to adjust for timezone. This has been discussed before:
> 
>         http://www.egroups.com/list/gnu-win32/mg1292806488.html
> 
> where it says:
> 
>         The current implementation (B19) of mktime (time.h)
>         incorrectly assumes that the given argument of the
>         type "struct *tm" represents GMT, and not local time
>         as it is supposed to do. It also ignores the field tm_isdst.
> 
> and it also proposes a fix. Has this fix been applied or is something else
> wrong?

If you're using NT, it's a bug in NT.  Go to the timezone setup in NT
and toggle the "automatically adjust for dst" flag.  You might need
to adjust your clock time when you do that.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-31 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3.0.5.32.19990127142805.033256d0.cygnus.gnu-win32@localhost>
1999-01-31 23:52 ` B20.1: Still problems with mktime() DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).