b20: Problems with timezone

Henrik Frystyk Nielsen frystyk@w3.org
Mon Nov 30 16:15:00 GMT 1998


I get a strange timezone offset when running this small libwww sample
program which gives the correct timezone offset on most Unixes that I am
aware of:

	http://www.w3.org/Library/Examples/tzcheck.c

linked from

	http://www.w3.org/Library/Examples/

As I am in Boston, is should say GMT-5 but instead it says this:

	TimeZone.... GMT + (-1202) hours (including DST)

The libwww configure returns this information regarding timezones:

	checking whether struct tm is in sys/time.h or time.h... (cached) time.h
	checking for tm_gmtoff in struct tm... (cached) no
	checking for time.h that defines timezone... (cached) yes
	checking for time.h that defines altzone... (cached) no
	checking for time.h that defines daylight... (cached) no

Is timezone probably initialized?

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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list