Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2000 13:50:02 -0700 (PDT)
From:      Paul Herman <pherman@frenchfries.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/21039: date -v31d -v08m -v2000y
Message-ID:  <200009042050.NAA59912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/21039; it has been noted by GNATS.

From: Paul Herman <pherman@frenchfries.net>
To: Dietmar Tanke <dtanke@gwdu60.gwdg.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/21039: date -v31d -v08m -v2000y
Date: Mon, 4 Sep 2000 22:46:16 +0200 (CEST)

 On Mon, 4 Sep 2000, Dietmar Tanke wrote:
 
 > >Description:
 > Date adjustment using the -v option seems not work for any date with
 > the 31th day of a month. Two examples. First one with a good result
 > and the second leads to an unexpected error. Is it a bug?
 > 
 > dtanke$ date -v30d -v08m -v2000y 
 > Wed Aug 30 21:27:24 CEST 2000
 
 The order of the "-v"s are important.
 
 bash-2.03$ date -v8m -v31d -v2000y
 Thu Aug 31 22:45:03 CEST 2000
 
 Try it next month and it'll work no matter what the order.  :-)
 
 -Paul.
 
 


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?200009042050.NAA59912>