Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2000 18:09:21 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Vivek Khera <khera@kciLink.com>
Cc:        freebsd-stable@FreeBSD.ORG, brian@hak.lan.Awfulhak.org
Subject:   Re: dufus.[...] daily run output -- summer time 
Message-ID:  <200004031709.SAA05528@hak.lan.Awfulhak.org>
In-Reply-To: Message from Vivek Khera <khera@kciLink.com>  of "Mon, 03 Apr 2000 11:31:58 EDT." <14568.47470.412562.32287@kci.kciLink.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>>>> "DRT" == Donald R Tyson <tyson@stanfordalumni.org> writes:
> 
> DRT> At least the 4.0-STABLE side, despite the error reported by
> DRT> several on this list, managed to get the time right.
> 
> The error is in the date program's ability to tell you the time X
> hours ago, when that X is during the leap-ahead hour.  I consider this
> a bug in date, as my example showed.  The time exists, date just can't
> tell you what it is.

This is a bug in the way the date -v option interacts with mktime() - 
it doesn't handle a -1 return.

I'll fix this soon (along with some other related problems).

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




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




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