Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 10:31:29 -0400
From:      "Clark C . Evans" <cce@clarkevans.com>
To:        freebsd-hackers@freebsd.org
Subject:   time.h missing daylight
Message-ID:  <20020704103129.A38561@doublegemini.com>

next in thread | raw e-mail | index | archive | help
I noticed that time.h is missing daylight.  Given a 
zoneinfo string, setting TZ and calling tzset works;
however, it seems that the "daylight" global variable
is missing.  What I need to know is if this particular
zoneinfo setting is subject to daylight savings time
or not (for instance Phoenix is not, Detroit is).
The tm_isdst flag is not the same, since it tells you
when you are in daylight savings time.

Also, I noticed (in RELEASE_4_4) that the tm_zone is
not idential to tzname[tm.tm_isdst]...  

Thanks!

Clark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020704103129.A38561>