Mail Archives: cygwin/1999/01/28/11:09:46
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.
- Raw text -