From owner-freebsd-questions Mon Apr 3 7:35:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id EC73C37B9D7 for ; Mon, 3 Apr 2000 07:35:10 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id KAA34855 for freebsd-questions@freebsd.org; Mon, 3 Apr 2000 10:35:09 -0400 (EDT) (envelope-from cjc) Date: Mon, 3 Apr 2000 10:35:09 -0400 From: "Crist J. Clark" To: freebsd-questions@freebsd.org Subject: Daylight Time "Daily Output" Bug Message-ID: <20000403103508.A34782@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I saw a whole bunch of these in my "daily run outputs" this morning, Checking for rejected mail hosts: -1d: Cannot apply date adjustment usage: date [-nu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] On 3.4-STABLE and 4.0-STABLE machines. It took me a few minutes to catch on, but I eventually realized the problem must be that the date command tried to back up into the "lost" daylight savings time hour. The 0200-0259, April 2 that never happened. Isn't this broken behavior? Shouldn't one get, % date; date -v-1d Mon Apr 3 02:01:00 EDT 2000 Sun Apr 2 01:01:00 EST 2000 Since that actually is one day (24 hours) earlier. Right now I get this type of response, %date; date -v-2d Mon Apr 3 10:31:47 EDT 2000 Sat Apr 1 09:31:47 EST 2000 I don't have time to look into details right now. PR 17750 addresses this problem, but not correctly. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message