Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2000 13:22:12 +0000
From:      Johan Carlstedt <johan.carlstedt@boo.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Bug in the FreeBSD date command
Message-ID:  <38982F84.7D005BF@boo.com>

next in thread | raw e-mail | index | archive | help
One line summary of the problem:

date -v commmand returns incorrect date information for February/2000

Full Description:

When invoking the date command using the -v option dates for days in
February/2000 are reported incorrectly:

The second invokation below shows an example of the error:

bash-2.02$ date -v2000y -v01m -v10d
Mon Jan 10 21:41:19 GMT 2000
bash-2.02$ date -v2000y -v02m -v10d
Fri Mar 10 21:41:22 GMT 2000
bash-2.02$ date -v2000y -v03m -v10d
Fri Mar 10 21:41:25 GMT 2000
bash-2.02$ date -v2000y -v04m -v10d
Mon Apr 10 22:41:27 BST 2000

Environment:

FreeBSD plum.flirble.org 3.4-STABLE FreeBSD 3.4-STABLE #0: Fri Dec 31
11:35:21 GMT 1999     scot@plum2.flirble.org:/usr/src/sys/compile/PLUM2
i386



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38982F84.7D005BF>