Date: Mon, 3 Apr 2000 10:35:09 -0400 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: freebsd-questions@freebsd.org Subject: Daylight Time "Daily Output" Bug Message-ID: <20000403103508.A34782@cc942873-a.ewndsr1.nj.home.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000403103508.A34782>