From owner-freebsd-hackers Thu Jul 4 7:25:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6437937B400 for ; Thu, 4 Jul 2002 07:25:47 -0700 (PDT) Received: from cauchy.clarkevans.com (209-9-30-66.sdsl.cais.net [209.9.30.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62FAD43E31 for ; Thu, 4 Jul 2002 07:25:46 -0700 (PDT) (envelope-from cce@cauchy.clarkevans.com) Received: from cce by cauchy.clarkevans.com with local (Exim 3.33 #1) id 17Q7dp-000A47-00 for freebsd-hackers@freebsd.org; Thu, 04 Jul 2002 10:31:29 -0400 Date: Thu, 4 Jul 2002 10:31:29 -0400 From: "Clark C . Evans" To: freebsd-hackers@freebsd.org Subject: time.h missing daylight Message-ID: <20020704103129.A38561@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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