delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/27/18:56:03

From: frystyk AT w3 DOT org (Henrik Frystyk Nielsen)
Subject: B20.1: Still problems with mktime()
27 Jan 1999 18:56:03 -0800 :
Message-ID: <3.0.5.32.19990127142805.033256d0.cygnus.gnu-win32@localhost>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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?

Thanks,

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019